add zsh autosuggestions

This commit is contained in:
James Walker 2020-07-29 22:21:01 -04:00
parent 511374c256
commit b01ec497ee
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,7 @@ brew 'ssh-copy-id'
brew 'tmux' brew 'tmux'
brew 'wget' brew 'wget'
brew 'zlib' brew 'zlib'
brew 'zsh-autosuggestions'
# casks # casks
cask '1password' cask '1password'
cask 'adoptopenjdk8' cask 'adoptopenjdk8'

View File

@ -56,6 +56,12 @@ if [ -d ~/Library/Android/sdk ]; then
export PATH=~/Library/Android/sdk/platform-tools:$PATH export PATH=~/Library/Android/sdk/platform-tools:$PATH
fi fi
# zsh autosuggestions
zsh_autosuggestions=$(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
if [ -f $zsh_autosuggestions ]; then
source $zsh_autosuggestions
fi
if [ $TERM = "screen" ]; then if [ $TERM = "screen" ]; then
export DISABLE_AUTO_TITLE="true" export DISABLE_AUTO_TITLE="true"
fi fi