mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-21 17:27:13 +01:00
get IP alias update
This commit is contained in:
parent
9e4bcaed16
commit
8ab7ea182e
5
aliases
5
aliases
@ -8,13 +8,14 @@ alias ~="cd ~"
|
||||
|
||||
alias f='open .'
|
||||
alias c='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code .'
|
||||
alias n='nova .'
|
||||
|
||||
# Update All The Things
|
||||
alias update='update-everything.sh'
|
||||
|
||||
# IP addresses
|
||||
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||
alias localip="ipconfig getifaddr en1"
|
||||
alias ip="dig TXT +short o-o.myaddr.l.google.com @ns1.google.com"
|
||||
alias iplocal="ipconfig getifaddr en0"
|
||||
|
||||
# Copy SSH public key to pasteboard
|
||||
alias pubkey='more ~/.ssh/id_rsa.pub | pbcopy | printf "✓ Public SSH key copied to pasteboard.\n"'
|
||||
|
Loading…
Reference in New Issue
Block a user