update zshrcs. Thanks to @technnocoreai for the idea

TODO: split common components to several files
This commit is contained in:
arcan1s 2014-11-26 10:49:21 +03:00
parent 850eb9a7d6
commit 63bae6ae0b
4 changed files with 8 additions and 0 deletions

2
zshrc
View File

@ -66,6 +66,8 @@ bashcompinit
# first symbol autocomplete
zstyle ':completion:*' insert-tab false
zstyle ':completion:*' max-errors 2
# correct host complete
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
# prompt
autoload -U promptinit

View File

@ -21,6 +21,8 @@ bashcompinit
# first symbol autocomplete
zstyle ':completion:*' insert-tab false
zstyle ':completion:*' max-errors 2
# correct host complete
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
# prompt
autoload -U promptinit

View File

@ -66,6 +66,8 @@ bashcompinit
# first symbol autocomplete
zstyle ':completion:*' insert-tab false
zstyle ':completion:*' max-errors 2
# correct host complete
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
# prompt
autoload -U promptinit

View File

@ -66,6 +66,8 @@ bashcompinit
# first symbol autocomplete
zstyle ':completion:*' insert-tab false
zstyle ':completion:*' max-errors 2
# correct host complete
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
# prompt
autoload -U promptinit