Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advance update alias #747

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .aliases
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ alias week='date +%V'
alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date'

# Get macOS Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update; sudo gem cleanup'
alias update='sudo softwareupdate -i -a; which brew > /dev/null && brew update && brew upgrade && brew cleanup; which npm > /dev/null && npm install npm -g && npm update -g; which gem > /dev/null && sudo gem update --system && sudo gem update && sudo gem cleanup; which nix-channel > /dev/null && nix-channel --update && nix-env -u --keep-going;'

# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
Expand Down