.dotfiles/install/zsh-autosuggestions.sh

8 lines
340 B
Bash
Raw Normal View History

2021-08-19 17:11:25 +02:00
FOLDER=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
if [ -s $FOLDER ]; then
echo " ✓ zsh-autosuggestions is already installed"
else
echo " - cloning github.com/zsh-users/zsh-autosuggestions into $FOLDER"
git clone --quiet https://github.com/zsh-users/zsh-autosuggestions $FOLDER > /dev/null
echo " - finished"
fi