This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules/yum/init.zsh

28 lines
799 B
Bash
Raw Normal View History

2012-01-31 23:37:51 -05:00
#
# Defines yum aliases.
#
# Authors:
# Simon <contact@saimon.org>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
2012-07-23 15:00:44 -04:00
# Return if requirements are not found.
if (( ! $+commands[yum] )); then
return 1
fi
2012-08-04 14:48:32 -04:00
#
2011-08-30 23:16:15 -04:00
# Aliases
2012-08-04 14:48:32 -04:00
#
2012-06-13 20:46:09 -04:00
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.