neated the output of "pubkey" alias
This commit is contained in:
parent
8a87db917d
commit
3a1f00ae34
@ -1,4 +1,4 @@
|
||||
alias pubkey='cat ~/.ssh/id_*.pub'
|
||||
alias pubkey='for PUBKEY_FILE in $(ls ~/.ssh/id_*.pub); do echo "${PUBKEY_FILE} :" | sed -e "s/.*id//;s/\.pub//"; cat "${PUBKEY_FILE}"; echo; done'
|
||||
alias hosts='sudo nano /etc/hosts'
|
||||
alias historygrep='history | grep'
|
||||
alias sshconfig='nano ~/.ssh/config'
|
||||
|
Loading…
Reference in New Issue
Block a user