mirror of
https://github.com/akelge/zsh
synced 2025-07-01 20:29:13 +00:00
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:
@ -31,7 +31,7 @@ alias ptr='host -t ptr'
|
||||
# alias psg="ps ax|grep "
|
||||
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 kk='kubectl konfig merge ~/.kube/configs/* > ~/.kube/config'
|
||||
|
1
zsh.d/zshfunctions/delkey
Normal file
1
zsh.d/zshfunctions/delkey
Normal file
@ -0,0 +1 @@
|
||||
ssh-keygen -R $(echo $1|cut -d@ -f2)
|
Reference in New Issue
Block a user