summaryrefslogtreecommitdiff
path: root/plugins/ubuntu/readme.md
diff options
context:
space:
mode:
authorAndrew Janke <andrew@apjanke.net>2015-08-17 20:59:39 -0400
committerAndrew Janke <andrew@apjanke.net>2015-08-17 20:59:39 -0400
commit00eb4658304b010afdfa87f74be673c8aced4961 (patch)
tree3d9e7f95f21265c3c60f10cdca720308bb2421c6 /plugins/ubuntu/readme.md
parent47d19cc56425aa7c550d845726111ee8bd9520d1 (diff)
parent192de6bcffb0294e19f4203f6f7dc1a7f3e427be (diff)
downloadzsh-00eb4658304b010afdfa87f74be673c8aced4961.tar.gz
zsh-00eb4658304b010afdfa87f74be673c8aced4961.tar.bz2
zsh-00eb4658304b010afdfa87f74be673c8aced4961.zip
Merge branch 'master' into fold-terminalapp-plugin-into-termsupport
Diffstat (limited to 'plugins/ubuntu/readme.md')
-rw-r--r--plugins/ubuntu/readme.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/ubuntu/readme.md b/plugins/ubuntu/readme.md
new file mode 100644
index 000000000..c9ef61f4e
--- /dev/null
+++ b/plugins/ubuntu/readme.md
@@ -0,0 +1,21 @@
+This plugin was created because the aliases in the debian plugin are inconsistent and hard to remember. Also this apt-priority detection that switched between apt-get and aptitude was dropped to keep it simpler. This plugin uses apt-get for everything but a few things that are only possible with aptitude I guess. Ubuntu does not have aptitude installed by default.
+
+acs = Apt-Cache Search
+acp = Apt-Cache Policy
+
+ag = sudo Apt-Get
+agi = sudo Apt-Get Install
+agd = sudo Apt-Get Dselect-upgrade
+By now you already can guess almost all aliases
+
+There are two exeptions since ...
+agu = sudo Apt-Get Update - we have ...
+agug = sudo Apt-Get UpGrade - as the exeptional 4 letter alias for a single command.
+
+afs = Apt-File Search --regexp - this has the regexp switch on without being represented in the alias, I guess this makes sense since the debian plugin has it, I never used that command.
+
+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
+
+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.