diff --git a/scripts/includes/autosuggestions.sh b/scripts/includes/autosuggestions.sh new file mode 100644 index 0000000..112d4bb --- /dev/null +++ b/scripts/includes/autosuggestions.sh @@ -0,0 +1 @@ +source "$SCR/../plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" diff --git a/scripts/includes/mac.sh b/scripts/includes/mac.sh index 26871ae..c0a5954 100644 --- a/scripts/includes/mac.sh +++ b/scripts/includes/mac.sh @@ -15,13 +15,4 @@ 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