mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-04-24 07:57:18 +00:00
update zshrcs. Thanks to @technnocoreai for the idea
TODO: split common components to several files
This commit is contained in:
parent
850eb9a7d6
commit
63bae6ae0b
2
zshrc
2
zshrc
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user