From b7d9a345e1f72f6045ea6be8452461e292ecfefb Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Mon, 15 Jan 2024 19:25:25 -0800 Subject: [PATCH] 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`. --- src/.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.bashrc b/src/.bashrc index 2160be7..447cc47 100755 --- a/src/.bashrc +++ b/src/.bashrc @@ -114,6 +114,7 @@ alias isodate='date -I' alias isotime='date -Ihours' alias headers='curl -I' # get site headers 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` alias ls='ls -h --color --show-control-chars'