Browse Source

removed leading underscore in public key name echo

master 0.2.3
Bryan Joshua Pedini 3 months ago
parent
commit
d235ac670d
  1. 2
      bashrc_overrides/convenience_aliases

2
bashrc_overrides/convenience_aliases

@ -1,4 +1,4 @@
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 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…
Cancel
Save