Browse Source

Misc fixes

pull/19/head
Harish Karumuthil 2 years ago
parent
commit
6f9609bb6f
  1. 3
      .gitignore
  2. 16
      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

16
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,20 @@ 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
}
createDirs
installUtils installUtils
installNerdFonts installNerdFonts
setupLunarVim setupLunarVim
installMain

Loading…
Cancel
Save