Merge pull request #106 from ashincoder/main

removed -e flags in script
This commit is contained in:
siduck76 2021-06-29 15:29:12 +05:30 committed by GitHub
commit 168054cd05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -16,10 +16,10 @@ if [ -d ~/.local/share/nvim/site/pack/packer ]; then
rm -rf ~/.local/share/nvim/site/pack rm -rf ~/.local/share/nvim/site/pack
fi fi
echo -e "\n=> Installing packer" echo "\n=> Installing packer"
git clone https://github.com/wbthomason/packer.nvim \ git clone https://github.com/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
echo -e "=> packer installed!" echo "=> packer installed!"
echo "Linking config" echo "Linking config"
echo "old nvim config will be changed to nvim.bak if exists! :0" echo "old nvim config will be changed to nvim.bak if exists! :0"
@ -48,8 +48,8 @@ else
sed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings.lua sed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings.lua
fi fi
echo -e "\n=> shell changed to $shellname on nvim successfully!" echo "\n=> shell changed to $shellname on nvim successfully!"
echo -e "\n=> neovim will open with some errors , just press enter" && sleep 1 echo "\n=> neovim will open with some errors , just press enter" && sleep 1
# install all plugins + compile them # install all plugins + compile them
nvim +PackerSync nvim +PackerSync