zsh completion for git?

This commit is contained in:
2020-03-10 12:03:41 +01:00
parent a7046bbd2b
commit 590a2e11ee
6 changed files with 3621 additions and 7 deletions

7
.zshrc
View File

@@ -142,3 +142,10 @@ alias virc="vim ~/.zshrc"
KUBECONFIG=~/.kube/configs/*
#kubectl completion
if [ /usr/local/bin/kubectl ]; then source <(kubectl completion zsh); fi
# Load Git completion
zstyle ':completion:*:*:git:*' script ~/.zsh/git-completion.bash
fpath=(~/.zsh $fpath)
autoload -Uz compinit && compinit