1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-05 09:43:38 +08:00
ohmyzsh/plugins/yum/yum.plugin.zsh

16 lines
864 B
Bash
Raw Normal View History

2011-04-07 16:23:06 +08:00
## Aliases
alias ys="yum search" # search package
alias yp="yum info" # show package info
alias yl="yum list" # list packages
alias ygl="yum grouplist" # list package groups
2011-04-07 16:23:06 +08:00
alias yli="yum list installed" # print all installed packages
2012-06-15 15:07:22 +08:00
alias ymc="yum makecache" # rebuilds the yum package list
2011-04-07 16:23:06 +08:00
alias yu="sudo yum update" # upgrate packages
alias yi="sudo yum install" # install package
alias ygi="sudo yum groupinstall" # install package group
2011-04-07 16:23:06 +08:00
alias yr="sudo yum remove" # remove package
alias ygr="sudo yum groupremove" # remove pagage group
2011-04-07 16:23:06 +08:00
alias yrl="sudo yum remove --remove-leaves" # remove package and leaves
alias yc="sudo yum clean all" # clean cache