From c90317917bf34e84a98fa6a7b5c7eaa02146cbc3 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 3 Jul 2012 13:58:32 -0400 Subject: [PATCH] Clarify alias documentation in pacman --- modules/pacman/README.md | 4 ++-- modules/pacman/init.zsh | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/pacman/README.md b/modules/pacman/README.md index 7b936fc..8e1e120 100644 --- a/modules/pacman/README.md +++ b/modules/pacman/README.md @@ -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`) diff --git a/modules/pacman/init.zsh b/modules/pacman/init.zsh index 2628dac..b906d93 100644 --- a/modules/pacman/init.zsh +++ b/modules/pacman/init.zsh @@ -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' # 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.