1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 02:18:00 +00:00

Clarify alias documentation in pacman

This commit is contained in:
Sorin Ionescu 2012-07-03 13:58:32 -04:00
parent b83d03118e
commit c90317917b
2 changed files with 6 additions and 4 deletions

View File

@ -28,8 +28,8 @@ Aliases
- `pacI` installs packages from files. - `pacI` installs packages from files.
- `pacx` removes packages and unneeded dependencies. - `pacx` removes packages and unneeded dependencies.
- `pacX` removes packages, their configuration, and unneeded dependencies. - `pacX` removes packages, their configuration, and unneeded dependencies.
- `pacq` displays information about a given package in the repositories. - `pacq` displays information about a package from the repositories.
- `pacQ` displays information about a given package in the local database. - `pacQ` displays information about a package from the local database.
- `pacs` searches for packages in the repositories. - `pacs` searches for packages in the repositories.
- `pacS` searches for packages in the local database. - `pacS` searches for packages in the local database.
- `pacu` synchronizes the local package and Arch Build System (requires `abs`) - `pacu` synchronizes the local package and Arch Build System (requires `abs`)

View File

@ -20,6 +20,8 @@ if (( $+commands[$_pacman_frontend] )); then
fi fi
fi fi
# Aliases
# Installs packages from repositories. # Installs packages from repositories.
alias paci='sudo pacman --sync' alias paci='sudo pacman --sync'
@ -32,10 +34,10 @@ alias pacx='sudo pacman --remove'
# Removes packages, their configuration, and unneeded dependencies. # Removes packages, their configuration, and unneeded dependencies.
alias pacX='sudo pacman --remove --nosave --recursive' alias pacX='sudo pacman --remove --nosave --recursive'
# Displays information about a given package in the repositories. # Displays information about a package from the repositories.
alias pacq='pacman --sync --info' alias pacq='pacman --sync --info'
# Displays information about a given package in the local database. # Displays information about a package from the local database.
alias pacQ='pacman --query --info' alias pacQ='pacman --query --info'
# Searches for packages in the repositories. # Searches for packages in the repositories.