feat: remove zsh-ssh and add chsh

This commit is contained in:
Renge 2022-05-17 13:18:24 -04:00
parent bfeca7be93
commit d148b4ce79

View File

@ -26,10 +26,12 @@ ln ./zshrc ~/.zshrc
verify "Are you running on arch-based linux? (Y/n)" verify "Are you running on arch-based linux? (Y/n)"
if [[ $? == 1 ]] if [[ $? == 1 ]]
then then
sudo pacman -Syu zsh-syntax-highlighting sudo pacman -S zsh-syntax-highlighting
else else
echo -e "\e[1;31mPlease find zsh-syntax-highlighting https://github.com/zsh-users/zsh-syntax-highlighting suitable for your distro\e[0m" echo -e "\e[1;31mPlease find zsh-syntax-highlighting https://github.com/zsh-users/zsh-syntax-highlighting suitable for your distro\e[0m"
fi fi
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
git clone https://github.com/qndydyhm/zsh-ssh ~/.zsh/zsh-ssh echo "finish install plugins"
chsh -s /bin/zsh
echo "set zsh as default shell"
# ---------------- zshrc end ---------------- # ---------------- zshrc end ----------------