1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-22 01:37:14 +01:00

get IP alias update

This commit is contained in:
Matthias Kretschmann 2021-01-30 22:15:23 +01:00
parent 9e4bcaed16
commit 8ab7ea182e
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -8,13 +8,14 @@ alias ~="cd ~"
alias f='open .' alias f='open .'
alias c='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code .' alias c='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code .'
alias n='nova .'
# Update All The Things # Update All The Things
alias update='update-everything.sh' alias update='update-everything.sh'
# IP addresses # IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com" alias ip="dig TXT +short o-o.myaddr.l.google.com @ns1.google.com"
alias localip="ipconfig getifaddr en1" alias iplocal="ipconfig getifaddr en0"
# Copy SSH public key to pasteboard # Copy SSH public key to pasteboard
alias pubkey='more ~/.ssh/id_rsa.pub | pbcopy | printf "✓ Public SSH key copied to pasteboard.\n"' alias pubkey='more ~/.ssh/id_rsa.pub | pbcopy | printf "✓ Public SSH key copied to pasteboard.\n"'