Remove old unrelated mr
stuff from apt-get
aliases
This commit is contained in:
parent
29f1b87f59
commit
f803311fd6
@ -1,21 +1,7 @@
|
|||||||
## Various update aliases
|
## Various update aliases
|
||||||
### apt
|
### apt
|
||||||
alias ai="noglob sudo apt-get install"
|
alias ai="noglob sudo apt-get install"
|
||||||
alias aup="sudo apt-get update; sudo apt-get upgrade"
|
|
||||||
alias adup="sudo apt-get dist-upgrade"
|
alias adup="sudo apt-get dist-upgrade"
|
||||||
alias aclean="sudo apt-get autoremove; sudo apt-get autoclean"
|
alias aclean="sudo apt-get autoremove; sudo apt-get autoclean"
|
||||||
alias apt="noglob apt"
|
alias apt="noglob apt"
|
||||||
|
alias up="sudo apt-get update; sudo apt-get upgrade"
|
||||||
### mr
|
|
||||||
alias mup="mr -mj update"
|
|
||||||
alias cmup="mup 2>&1|sed -ur 's/mr update: \/(.*)/'\"$(tput bold)\1$(tput sgr0)\"'/g
|
|
||||||
/mr update: command failed/c'\"$(tput setf 4)mr update: command failed$(tput sgr0)\"'
|
|
||||||
s/\/?home\/adam/~/g
|
|
||||||
/Already up-to-date/d
|
|
||||||
/Tree is up to date/d
|
|
||||||
/Updating '\''\.'\'':/d
|
|
||||||
/At revision/d
|
|
||||||
/^$/d'"
|
|
||||||
|
|
||||||
### general
|
|
||||||
alias up="(aup;aclean;cmup) | tee /tmp/up.log"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user