summaryrefslogtreecommitdiff
path: root/plugins/yum/yum.plugin.zsh
diff options
context:
space:
mode:
authorPat Regan <thehead@patshead.com>2011-04-27 04:56:44 -0400
committerPat Regan <thehead@patshead.com>2011-04-27 04:56:44 -0400
commitdc76c5694dda120fcac02b2d75ef0a149de94a2f (patch)
tree0a4043b579fc4f2306df52180495940792492a32 /plugins/yum/yum.plugin.zsh
parent886af72125a108c2f928474c7f817dd2c164795e (diff)
parent70d0beae22e7d97d4380af32dae1618f45e3dd4b (diff)
downloadzsh-dc76c5694dda120fcac02b2d75ef0a149de94a2f.tar.gz
zsh-dc76c5694dda120fcac02b2d75ef0a149de94a2f.tar.bz2
zsh-dc76c5694dda120fcac02b2d75ef0a149de94a2f.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/yum/yum.plugin.zsh')
-rw-r--r--plugins/yum/yum.plugin.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/yum/yum.plugin.zsh b/plugins/yum/yum.plugin.zsh
new file mode 100644
index 000000000..d6ba7ed62
--- /dev/null
+++ b/plugins/yum/yum.plugin.zsh
@@ -0,0 +1,12 @@
+## Aliases
+
+alias ys="yum search" # search package
+alias yp="yum info" # show package info
+alias yl="yum list" # list packages
+alias yli="yum list installed" # print all installed packages
+
+alias yu="sudo yum update" # upgrate packages
+alias yi="sudo yum install" # install package
+alias yr="sudo yum remove" # remove package
+alias yrl="sudo yum remove --remove-leaves" # remove package and leaves
+alias yc="sudo yum clean all" # clean cache