Skip to content

Commit

Permalink
[zsh] use command candidate to complete command
Browse files Browse the repository at this point in the history
  • Loading branch information
mqcmd196 committed Jul 31, 2024
1 parent 9d6b911 commit 1aa3d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/zsh/config/rc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,5 @@ ZSH_HIGHLIGHT_STYLES[comment]=fg=245 # make comment out color lighter

# zsh autosuggestions
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
ZSH_AUTOSUGGEST_STRATEGY=(completion history)
ZSH_AUTOSUGGEST_USE_ASYNC=1 # avoid too slow completion

0 comments on commit 1aa3d35

Please sign in to comment.