Browse Source

Clarify alias documentation in pacman

master
Sorin Ionescu 13 years ago
parent
commit
c90317917b
  1. 4
      modules/pacman/README.md
  2. 6
      modules/pacman/init.zsh

4
modules/pacman/README.md

@ -28,8 +28,8 @@ Aliases @@ -28,8 +28,8 @@ Aliases
- `pacI` installs packages from files.
- `pacx` removes packages 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 given package in the local database.
- `pacq` displays information about a package from the repositories.
- `pacQ` displays information about a package from the local database.
- `pacs` searches for packages in the repositories.
- `pacS` searches for packages in the local database.
- `pacu` synchronizes the local package and Arch Build System (requires `abs`)

6
modules/pacman/init.zsh

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

Loading…
Cancel
Save