mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 02:08:37 +08:00
new yum plugin with useful aliases
This commit is contained in:
parent
971b071dc6
commit
60bae66bbf
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 New Issue
Block a user