auto suggest commented
This commit is contained in:
parent
1a51e283a9
commit
12acdbaf7d
12
my.zsh
12
my.zsh
|
@ -63,15 +63,15 @@ cdpath=($project_path $cdpath)
|
|||
source $current_path/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# Load autosuggestions
|
||||
source $current_path/zsh-autosuggestions/autosuggestions.zsh
|
||||
#source $current_path/zsh-autosuggestions/autosuggestions.zsh
|
||||
|
||||
# Enable autosuggestions automatically
|
||||
zle-line-init() {
|
||||
zle autosuggest-start
|
||||
}
|
||||
#zle-line-init() {
|
||||
# zle autosuggest-start
|
||||
#}
|
||||
|
||||
zle -N zle-line-init
|
||||
#zle -N zle-line-init
|
||||
|
||||
# use ctrl+t to toggle autosuggestions(hopefully this wont be needed as
|
||||
# zsh-autosuggestions is designed to be unobtrusive)
|
||||
bindkey '^T' autosuggest-toggle
|
||||
#bindkey '^T' autosuggest-toggle
|
||||
|
|
Loading…
Reference in New Issue