mirror of https://github.com/akelge/zsh
Changed delkey to a function
Before delkey was an alias and could only be invoked passing an host as argument, now it accepts also user@host, will clean up the argument and delkey
This commit is contained in:
parent
a9abfcda86
commit
788055e8d3
|
@ -31,7 +31,7 @@ alias ptr='host -t ptr'
|
||||||
# alias psg="ps ax|grep "
|
# alias psg="ps ax|grep "
|
||||||
alias myip="dig +short ANY @resolver1.opendns.com myip.opendns.com"
|
alias myip="dig +short ANY @resolver1.opendns.com myip.opendns.com"
|
||||||
|
|
||||||
alias delkey="ssh-keygen -R "
|
# alias delkey="ssh-keygen -R "
|
||||||
|
|
||||||
alias k=kubectl
|
alias k=kubectl
|
||||||
alias kk='kubectl konfig merge ~/.kube/configs/* > ~/.kube/config'
|
alias kk='kubectl konfig merge ~/.kube/configs/* > ~/.kube/config'
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ssh-keygen -R $(echo $1|cut -d@ -f2)
|
Loading…
Reference in New Issue