[zsh] Keep kp() from overriding the others

This commit is contained in:
Sebastian Schulze 2020-06-22 17:20:51 +02:00
parent 2f16fff7d7
commit c1b652bc24
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ alias -g B="|bat"
alias -g baml="|bat -l yaml"
# Switch between multiple kubeconfigs, stored in gopass
kp() { export KUBECONFIG=/dev/shm/kubeconfig && gopass $(gopass ls -f | fzf --query "'${1} kubeconfig" --select-1) > $KUBECONFIG && source <(kubectl completion zsh) }
kp() { export KUBECONFIG=/dev/shm/kubeconfig-${1} && gopass $(gopass ls -f | fzf --query "'${1} kubeconfig" --select-1) > $KUBECONFIG && source <(kubectl completion zsh) }
timestamp() { date +%Y-%m-%d-%H%M%S }
letterup() {