mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Merged pull request #276 from saimn/yum.
new yum plugin with useful aliases
This commit is contained in:
commit
bc3a8d295c
1 changed files with 12 additions and 0 deletions
12
plugins/yum/yum.plugin.zsh
Normal file
12
plugins/yum/yum.plugin.zsh
Normal file
|
@ -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
|
Loading…
Reference in a new issue