set option to autocomplete aliases
This commit is contained in:
parent
9c8294a417
commit
8bf38a086d
6
.zshrc
6
.zshrc
@ -102,11 +102,11 @@ zstyle ':completion:*:scp:*' hosts $(list-ssh-hosts)
|
||||
zstyle ':completion:*:ssh:*' users # disables users completion
|
||||
zstyle ':completion:*:scp:*' users # disables users completion
|
||||
|
||||
zstyle :compinstall filename "$HOME/.zshrc"
|
||||
|
||||
# Always do mid-word tab completion
|
||||
setopt complete_in_word
|
||||
|
||||
# don't expand aliases _before_ completion has finished
|
||||
setopt complete_aliases
|
||||
|
||||
#---------------------------------- Corrections -------------------------------
|
||||
|
||||
@ -504,8 +504,6 @@ sshc() {
|
||||
ssh -q -o "ControlPath=/tmp/.cm-%r@%h:%p" -O stop $1
|
||||
}
|
||||
|
||||
compdef '_dispatch ssh ssh' sshc
|
||||
|
||||
#---------------------------------- Miscellaneous ----------------------------
|
||||
|
||||
setopt extended_glob
|
||||
|
||||
Loading…
Reference in New Issue
Block a user