Fix autosuggestions on MacOS

This commit is contained in:
pfych 2024-09-05 13:17:21 +10:00
parent 6f8b3ed619
commit 7f2a5238c6

2
.zshrc
View File

@ -8,8 +8,8 @@ if [[ $(uname) == "Darwin" ]]; then
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"
export ANDROID_SDK_ROOT=/Users/$USER/Library/Android/sdk
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
alias date=gdate;
alias twtxt="AWS_PROFILE=personal twtxt -c .config/twtxt/config"
eval "$(rbenv init - zsh)"
else
export PATH="${PATH}:${HOME}/.local/bin:/usr/local/sbin:${HOME}/.local/share/gem/ruby/2.0.0/bin:/usr/local/bin"