From 6f9609bb6f94bbaf01e2fc8895374749d611946d Mon Sep 17 00:00:00 2001 From: Harish Karumuthil Date: Tue, 19 Sep 2023 00:21:52 +0530 Subject: [PATCH] Misc fixes --- .gitignore | 3 +++ install.sh | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..19982a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +home/.local/Apps/neovim-distros/lunarvim/cache +home/.local/Apps/neovim-distros/lunarvim/share +home/.local/Apps/neovim-distros/lunarvim/LunarVim diff --git a/install.sh b/install.sh index 2824827..8ff5ca7 100755 --- a/install.sh +++ b/install.sh @@ -2,6 +2,11 @@ thisDir=$(dirname $(realpath $0) ) +createDirs(){ + mkdir -p ~/.config/nvim + mkdir -p ~/.config/spacefm +} + installUtils(){ # Install https://github.com/harish2704/installer-scripts wget 'https://raw.githubusercontent.com/harish2704/installer-scripts/master/installer.sh' -O - | sh @@ -19,13 +24,20 @@ installNerdFonts(){ setupLunarVim(){ cd "$thisDir" cd ./home/.local/Apps/neovim-distros/lunarvim/ - git clone https://github.com/LunarVim/LunarVim ./ + git clone https://github.com/LunarVim/LunarVim cd LunarVim rm config.lua ln -s ../config.lua ./ } +installMain(){ + cd "$thisDir" + stow -t $HOME home +} + + +createDirs installUtils installNerdFonts setupLunarVim - +installMain