refined spacevim and friends installation

This commit is contained in:
stephen 2024-03-02 22:40:33 -05:00
parent d16d20bf3a
commit 2118cb7760

View file

@ -78,13 +78,13 @@ spacevim () {
echo "Installing Spacevim!"
[ -d $HOME/.vim ] && mv "$HOME/.vim" "$HOME/vim_bk"
[ -f $HOME/.vimrc ] && mv "$HOME/.vimrc" "$HOME/vimrc_bk"
curl -sLf https://spacevim.org/install.sh | bash
curl -sLf https://spacevim.org/install.sh | bash -s -- --install vim
echo "Install Neovim"
mkdir -v ~/bin
trash ~/bin/nvim ~/.config/nvim
trash ~/bin/nvim
curl -L https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim
chmod u+x ~/bin/nvim
mv ~/.nvim ~/.nvim_bak #removes spacevim's symlink
trash ~/.local/share/nvim #removes spacevim's symlink
echo "Install NvChad"
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
echo "Install Lunar Vim"
@ -113,7 +113,7 @@ fi
#script to link to stevserver over LAN. Note: the username in the filename and file have to match yours.
echo -n "Will you need to connect to stev-server?"; read -r answer
if [[ $answer == [Yy] ]]
if [[ $answer == [Yy] ]]; then
sudo cp scripts/systemd/home-stev-server.mount /etc/systemd/system
sudo systemctl daemon-reload
fi