1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 19:48:00 +00:00
prezto/modules/yum/init.zsh
2012-08-04 14:48:32 -04:00

29 lines
800 B
Bash

#
# Defines yum aliases.
#
# Authors:
# Simon <contact@saimon.org>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Return if requirements are not found.
if (( ! $+commands[yum] )); then
return 1
fi
#
# Aliases
#
alias yumc='sudo yum clean all' # Cleans the cache.
alias yumh='yum history' # Displays history.
alias yumi='sudo yum install' # Installs package(s).
alias yuml='yum list' # Lists packages.
alias yumL='yum list installed' # Lists installed packages.
alias yumq='yum info' # Displays package information.
alias yumr='sudo yum remove' # Removes package(s).
alias yums='yum search' # Searches for a package.
alias yumu='sudo yum update' # Updates packages.
alias yumU='sudo yum upgrade' # Upgrades packages.