removed -e flags in script

I removed -e flags of echoes as it not useful in the posix script
This commit is contained in:
ashincoder 2021-06-29 15:09:03 +05:30 committed by GitHub
parent 97370f36ca
commit 4631fbcf4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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