From 2118cb77600e1cb0d4f68e13b9b52e9aca46b7c1 Mon Sep 17 00:00:00 2001 From: stephen Date: Sat, 2 Mar 2024 22:40:33 -0500 Subject: [PATCH] refined spacevim and friends installation --- init.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.sh b/init.sh index 6fa3ca1..758ac0a 100755 --- a/init.sh +++ b/init.sh @@ -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