mirror of
https://github.com/wahyd4/dotfiles.git
synced 2026-08-14 15:26:24 +10:00
.aliases: Add update alias
This commit is contained in:
@@ -28,6 +28,9 @@ fi
|
||||
# Enable aliases to be sudo’ed
|
||||
alias sudo='sudo '
|
||||
|
||||
# Get OS X Software Updates, update Homebrew itself, and upgrade installed Homebrew packages
|
||||
alias update='sudo softwareupdate -i -a; brew update; brew upgrade'
|
||||
|
||||
# IP addresses
|
||||
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||
alias localip="ipconfig getifaddr en1"
|
||||
|
||||
Reference in New Issue
Block a user