Remove zsh-autosuggestions; it's unstable
This commit is contained in:
parent
d4539b88a0
commit
641dfae06f
12
home/.zshrc
12
home/.zshrc
|
@ -131,7 +131,6 @@ if ! zgen saved; then
|
||||||
zgen oh-my-zsh plugins/virtualenv
|
zgen oh-my-zsh plugins/virtualenv
|
||||||
zgen oh-my-zsh plugins/virtualenvwrapper
|
zgen oh-my-zsh plugins/virtualenvwrapper
|
||||||
zgen load zsh-users/zsh-syntax-highlighting
|
zgen load zsh-users/zsh-syntax-highlighting
|
||||||
zgen load tarruda/zsh-autosuggestions # depends on syntax-highlighting
|
|
||||||
|
|
||||||
# Save all to the init script
|
# Save all to the init script
|
||||||
zgen save
|
zgen save
|
||||||
|
@ -170,16 +169,5 @@ ZSH_HIGHLIGHT_STYLES[globbing]=fg=green
|
||||||
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=27
|
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=27
|
||||||
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=27
|
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=27
|
||||||
|
|
||||||
###
|
|
||||||
# Configure plugin: zsh-autosuggestions
|
|
||||||
###
|
|
||||||
export AUTOSUGGESTION_HIGHLIGHT_COLOR="fg=8"
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user