1
0

Activate ZSH autosuggest

This commit is contained in:
Noah 2016-01-19 17:36:30 -08:00
parent 329dc5d61f
commit d4539b88a0

View File

@ -173,8 +173,13 @@ ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=27
### ###
# Configure plugin: zsh-autosuggestions # Configure plugin: zsh-autosuggestions
### ###
export AUTOSUGGESTION_HIGHLIGHT_COLOR="fg=2" export AUTOSUGGESTION_HIGHLIGHT_COLOR="fg=8"
export AUTOSUGGESTION_ACCEPT_RIGHT_ARROW=1 export AUTOSUGGESTION_ACCEPT_RIGHT_ARROW=1
zle-line-init() {
zle autosuggest-start
}
zle -N zle-line-init
# Finalize and export the prompt # Finalize and export the prompt
export PROMPT=$base_prompt export PROMPT=$base_prompt