updated installation

This commit is contained in:
stephen 2024-03-02 22:48:35 -05:00
parent 32a0be5c12
commit 7224291b93
4 changed files with 8 additions and 19 deletions

View file

@ -37,7 +37,8 @@ sudo apt-get -my install \
nala \ nala \
duf \ duf \
tree \ tree \
vim vim \
make
read -n1 -p $'\nDoes this system need a ssh server?\n' REPLY read -n1 -p $'\nDoes this system need a ssh server?\n' REPLY
if [[ $REPLY == [Yy] ]]; then if [[ $REPLY == [Yy] ]]; then

19
init.sh
View file

@ -74,22 +74,9 @@ git_user () {
} }
#install spacevim & neovim #install spacevim & neovim
spacevim () { echo "Installing Spacevim & Friends!"
echo "Installing Spacevim!" bash spacevim.sh
[ -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 -s -- --install vim
echo "Install Neovim"
mkdir -v ~/bin
trash ~/bin/nvim
curl -L https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim
chmod u+x ~/bin/nvim
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"
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)
}
#install fonts for terminal #install fonts for terminal
fonts () { fonts () {
echo "installing fonts" echo "installing fonts"

View file

@ -8,7 +8,7 @@ mkdir -v ~/bin
trash ~/bin/nvim trash ~/bin/nvim
curl -L https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim curl -L https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim
chmod u+x ~/bin/nvim chmod u+x ~/bin/nvim
trash ~/.local/share/nvim #removes spacevim's symlink trash ~/.local/share/nvim ~/.config/nvim #removes spacevim's symlink
echo "Install NvChad" echo "Install NvChad"
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
echo "Install Lunar Vim" echo "Install Lunar Vim"

View file

@ -35,7 +35,8 @@ sudo apt-get -my install \
neofetch \ neofetch \
trash-cli \ trash-cli \
nala \ nala \
libfuse2 libfuse2 \
make
read -n1 -p $'Does this system need a ssh server?\n' REPLY read -n1 -p $'Does this system need a ssh server?\n' REPLY
if [[ $REPLY == [Yy] ]]; then if [[ $REPLY == [Yy] ]]; then