Browse Source

Merge branch 'master' of github.com:harish2704/dotFiles

pull/19/head
Harish Karumuthil 2 years ago
parent
commit
eb5f9824a6
  1. 3
      .gitignore
  2. 21
      install.sh

3
.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

21
install.sh

@ -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

Loading…
Cancel
Save