mirror of
https://github.com/arcan1s/dotfiles.git
synced 2026-11-19 17:49:30 +00:00
update zshrcs. Thanks to @technnocoreai for the idea
TODO: split common components to several files
This commit is contained in:
1 parent
850eb9a7d6
commit
63bae6ae0b
4 files changed
+8
No files matched your search
@@ -66,6 +66,8 @@ bashcompinit
|
|||||||
# first symbol autocomplete
|
# first symbol autocomplete
|
||||||
zstyle ':completion:*' insert-tab false
|
zstyle ':completion:*' insert-tab false
|
||||||
zstyle ':completion:*' max-errors 2
|
zstyle ':completion:*' max-errors 2
|
||||||
|
# correct host complete
|
||||||
|
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
|
||||||
|
|
||||||
# prompt
|
# prompt
|
||||||
autoload -U promptinit
|
autoload -U promptinit
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ bashcompinit
|
|||||||
# first symbol autocomplete
|
# first symbol autocomplete
|
||||||
zstyle ':completion:*' insert-tab false
|
zstyle ':completion:*' insert-tab false
|
||||||
zstyle ':completion:*' max-errors 2
|
zstyle ':completion:*' max-errors 2
|
||||||
|
# correct host complete
|
||||||
|
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
|
||||||
|
|
||||||
# prompt
|
# prompt
|
||||||
autoload -U promptinit
|
autoload -U promptinit
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ bashcompinit
|
|||||||
# first symbol autocomplete
|
# first symbol autocomplete
|
||||||
zstyle ':completion:*' insert-tab false
|
zstyle ':completion:*' insert-tab false
|
||||||
zstyle ':completion:*' max-errors 2
|
zstyle ':completion:*' max-errors 2
|
||||||
|
# correct host complete
|
||||||
|
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
|
||||||
|
|
||||||
# prompt
|
# prompt
|
||||||
autoload -U promptinit
|
autoload -U promptinit
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ bashcompinit
|
|||||||
# first symbol autocomplete
|
# first symbol autocomplete
|
||||||
zstyle ':completion:*' insert-tab false
|
zstyle ':completion:*' insert-tab false
|
||||||
zstyle ':completion:*' max-errors 2
|
zstyle ':completion:*' max-errors 2
|
||||||
|
# correct host complete
|
||||||
|
[[ -f ~/.ssh/config ]] && zstyle ':completion:*' hosts $(awk '/^Host .*$/ { print $2 }' ~/.ssh/config)
|
||||||
|
|
||||||
# prompt
|
# prompt
|
||||||
autoload -U promptinit
|
autoload -U promptinit
|
||||||
|
|||||||
Reference in new issue
Block a user