Clarify alias documentation in pacman

main
Sorin Ionescu 13 years ago
parent b83d03118e
commit c90317917b

@ -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`)

@ -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.

Loading…
Cancel
Save