[+] Add autosuggestions for macos

This commit is contained in:
Hykilpikonna
2021-09-18 12:42:06 -04:00
parent 36948b3873
commit 255a2768db
+9
View File
@@ -15,4 +15,13 @@ if [[ $OSTYPE == 'darwin'* ]]; then
alias java16="${JDK16}/bin/java"
export JAVA_HOME=${JDK11}
export PATH="${JDK11}/bin:$PATH"
# Autosuggestions
autosug="/usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh"
if [ -f $autosug ]; then
source $autosug
else
brew install zsh-autosuggestions
source $autosug
fi
fi