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..55c5ef5 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,25 @@ 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 +} + +installNvm(){ + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash +} + + +createDirs installUtils installNerdFonts setupLunarVim - +installMain +installNvm