summaryrefslogtreecommitdiff
path: root/plugins/ubuntu
diff options
context:
space:
mode:
authorTiago Rinaldi <trinaldi@gmail.com>2017-11-06 12:41:33 -0200
committerRobby Russell <robby@planetargon.com>2017-11-06 06:41:33 -0800
commitd072c0fbec58439ede849facf89fa11225dd85d9 (patch)
tree4dafd31d8ea3a8bd6a6028470492654bfac69ec5 /plugins/ubuntu
parent1ec5bab7d82bfc82ee4e9f37cc67b6476a060008 (diff)
downloadzsh-d072c0fbec58439ede849facf89fa11225dd85d9.tar.gz
zsh-d072c0fbec58439ede849facf89fa11225dd85d9.tar.bz2
zsh-d072c0fbec58439ede849facf89fa11225dd85d9.zip
Change `agud` alias from `dist-upgrade` to `full-upgrade` (#6384)
Diffstat (limited to 'plugins/ubuntu')
-rw-r--r--plugins/ubuntu/readme.md2
-rw-r--r--plugins/ubuntu/ubuntu.plugin.zsh5
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/ubuntu/readme.md b/plugins/ubuntu/readme.md
index 5ad4bbcd2..99d62a6f7 100644
--- a/plugins/ubuntu/readme.md
+++ b/plugins/ubuntu/readme.md
@@ -16,6 +16,6 @@ afs = Apt-File Search --regexp - this has the regexp switch on without being rep
Then there are the 2 other 4 letter aliases for combined commands, that are straight forward and easy to remember.
aguu = sudo Apt-Get Update && sudo apt-get Upgrade - better then adg or not?
-agud = sudo Apt-Get Update && sudo apt-get Dist-upgrade
+agud = sudo Apt-Get Update && sudo apt-get full-upgrade
For a full list aliases and the functions just watch the plugins code https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/ubuntu/ubuntu.plugin.zsh, look at the comments if you want to switch from the debian plugin. Ubuntu, Mint and & co users will like the new aar function to install packages from ppas with a single command.
diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
index 60ff0457f..eab2da409 100644
--- a/plugins/ubuntu/ubuntu.plugin.zsh
+++ b/plugins/ubuntu/ubuntu.plugin.zsh
@@ -2,6 +2,7 @@
# https://github.com/AlexBio
# https://github.com/dbb
# https://github.com/Mappleconfusers
+# https://github.com/trinaldi
# Nicolas Jonas nextgenthemes.com
# https://github.com/loctauxphilippe
#
@@ -36,7 +37,7 @@ alias agi='sudo apt-get install' # ai
alias agp='sudo apt-get purge' # ap
alias agr='sudo apt-get remove' # ar
alias agu='sudo apt-get update' # ad
-alias agud='sudo apt-get update && sudo apt-get dist-upgrade' #adu
+alias agud='sudo apt-get update && sudo apt-get full-upgrade' #adu
alias agug='sudo apt-get upgrade' # ag
alias aguu='sudo apt-get update && sudo apt-get upgrade' #adg
alias agar='sudo apt-get autoremove'
@@ -50,7 +51,7 @@ compdef _agi agi='sudo apt-get install'
compdef _agp agp='sudo apt-get purge'
compdef _agr agr='sudo apt-get remove'
compdef _agu agu='sudo apt-get update'
-compdef _agud agud='sudo apt-get update && sudo apt-get dist-upgrade'
+compdef _agud agud='sudo apt-get update && sudo apt-get full-upgrade'
compdef _agug agug='sudo apt-get upgrade'
compdef _aguu aguu='sudo apt-get update && sudo apt-get upgrade'
compdef _agar agar='sudo apt-get autoremove'