Browse Source

new yum plugin with useful aliases

Simon 13 years ago
parent
commit
60bae66bbf
1 changed files with 12 additions and 0 deletions
  1. 12 0
      plugins/yum/yum.plugin.zsh

+ 12 - 0
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