Add `sudo apt update && sudo apt upgrade` alias

I type it enough times that I'd rather not have to type out the whole
line over and over. Sadly, I can't alias just `apt update && apt
upgrade` as it won't be evaluated correctly if invoked as `sudo auu`.
master
Jordan Atwood 9 months ago
parent 6fd4036a27
commit b7d9a345e1
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 1
      src/.bashrc

@ -114,6 +114,7 @@ alias isodate='date -I'
alias isotime='date -Ihours' alias isotime='date -Ihours'
alias headers='curl -I' # get site headers alias headers='curl -I' # get site headers
alias headersc='curl -I --compress' # test gzip/mod_deflate support alias headersc='curl -I --compress' # test gzip/mod_deflate support
alias auu='sudo apt update && sudo apt upgrade'
# add colors for filetype and human-readable sizes in `ls` # add colors for filetype and human-readable sizes in `ls`
alias ls='ls -h --color --show-control-chars' alias ls='ls -h --color --show-control-chars'

Loading…
Cancel
Save