mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 07:11:09 +00:00
Added installer script
This commit is contained in:
Executable
+31
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
thisDir=$(dirname $(realpath $0) )
|
||||
|
||||
installUtils(){
|
||||
# Install https://github.com/harish2704/installer-scripts
|
||||
wget 'https://raw.githubusercontent.com/harish2704/installer-scripts/master/installer.sh' -O - | sh
|
||||
}
|
||||
|
||||
installNerdFonts(){
|
||||
cd ~/Downloads
|
||||
wget -c https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/CodeNewRoman.zip
|
||||
unzip CodeNewRoman.zip *.otf
|
||||
mkdir -p ~/.local/share/fonts/
|
||||
mv CodeNewRoman*.otf ~/.local/share/fonts/
|
||||
fc-cache
|
||||
}
|
||||
|
||||
setupLunarVim(){
|
||||
cd "$thisDir"
|
||||
cd ./home/.local/Apps/neovim-distros/lunarvim/
|
||||
git clone https://github.com/LunarVim/LunarVim ./
|
||||
cd LunarVim
|
||||
rm config.lua
|
||||
ln -s ../config.lua ./
|
||||
}
|
||||
|
||||
installUtils
|
||||
installNerdFonts
|
||||
setupLunarVim
|
||||
|
||||
Reference in New Issue
Block a user