auto suggest commented

This commit is contained in:
Sameer Rahmani 2014-04-29 21:25:05 +04:30
parent 1a51e283a9
commit 12acdbaf7d
1 changed files with 6 additions and 6 deletions

12
my.zsh
View File

@ -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