|
@ -2,6 +2,11 @@ |
|
|
|
|
|
|
|
|
thisDir=$(dirname $(realpath $0) ) |
|
|
thisDir=$(dirname $(realpath $0) ) |
|
|
|
|
|
|
|
|
|
|
|
createDirs(){ |
|
|
|
|
|
mkdir -p ~/.config/nvim |
|
|
|
|
|
mkdir -p ~/.config/spacefm |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
installUtils(){ |
|
|
installUtils(){ |
|
|
# Install https://github.com/harish2704/installer-scripts |
|
|
# Install https://github.com/harish2704/installer-scripts |
|
|
wget 'https://raw.githubusercontent.com/harish2704/installer-scripts/master/installer.sh' -O - | sh |
|
|
wget 'https://raw.githubusercontent.com/harish2704/installer-scripts/master/installer.sh' -O - | sh |
|
@ -19,13 +24,25 @@ installNerdFonts(){ |
|
|
setupLunarVim(){ |
|
|
setupLunarVim(){ |
|
|
cd "$thisDir" |
|
|
cd "$thisDir" |
|
|
cd ./home/.local/Apps/neovim-distros/lunarvim/ |
|
|
cd ./home/.local/Apps/neovim-distros/lunarvim/ |
|
|
git clone https://github.com/LunarVim/LunarVim ./ |
|
|
|
|
|
|
|
|
git clone https://github.com/LunarVim/LunarVim |
|
|
cd LunarVim |
|
|
cd LunarVim |
|
|
rm config.lua |
|
|
rm config.lua |
|
|
ln -s ../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 |
|
|
installUtils |
|
|
installNerdFonts |
|
|
installNerdFonts |
|
|
setupLunarVim |
|
|
setupLunarVim |
|
|
|
|
|
|
|
|
|
|
|
installMain |
|
|
|
|
|
installNvm |
|
|