|
|
@ -118,7 +118,6 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
|
|
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
|
|
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
# Completions
|
|
|
|
# Completions
|
|
|
|
source <(kubectl completion zsh)
|
|
|
|
|
|
|
|
h=( $(get_drive_servers) ) 2>/dev/null
|
|
|
|
h=( $(get_drive_servers) ) 2>/dev/null
|
|
|
|
if [[ $#h -gt 0 ]]; then
|
|
|
|
if [[ $#h -gt 0 ]]; then
|
|
|
|
zstyle ':completion:*:ssh:*' hosts $h
|
|
|
|
zstyle ':completion:*:ssh:*' hosts $h
|
|
|
@ -130,3 +129,4 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
# Initialize the autocompletion
|
|
|
|
# Initialize the autocompletion
|
|
|
|
autoload -Uz compinit && compinit -i
|
|
|
|
autoload -Uz compinit && compinit -i
|
|
|
|
|
|
|
|
source <(kubectl completion zsh)
|
|
|
|