From 6f9609bb6f94bbaf01e2fc8895374749d611946d Mon Sep 17 00:00:00 2001 From: Harish Karumuthil Date: Tue, 19 Sep 2023 00:21:52 +0530 Subject: [PATCH 1/2] 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 From e6ad0f75ead395ba2436c1308bd77857b32d0e57 Mon Sep 17 00:00:00 2001 From: Harish Karumuthil Date: Tue, 19 Sep 2023 00:26:56 +0530 Subject: [PATCH 2/2] Install node using nvm --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index 8ff5ca7..55c5ef5 100755 --- a/install.sh +++ b/install.sh @@ -35,9 +35,14 @@ installMain(){ 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