X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/ab995bb9958286e2f516dc71e1661aef4ce01bad..8fb9c4e7a2923c1b2904295e0bf19703d6e8ece5:/zsh/aliases/pacman.zsh diff --git a/zsh/aliases/pacman.zsh b/zsh/aliases/pacman.zsh index 988902d..d44641b 100644 --- a/zsh/aliases/pacman.zsh +++ b/zsh/aliases/pacman.zsh @@ -1,9 +1,13 @@ +if (( ! $+commands[pacman] )); then + return 1 +fi + # Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips alias pacupg='sudo pacman -Syu' # Synchronize with repositories before upgrading packages that are out of date on the local system. alias pacin='sudo pacman -S' # Install specific package(s) from the repositories alias pacu='sudo pacman -U' # Install specific package not from the repositories but from a file alias pacre='sudo pacman -R' # Remove the specified package(s), retaining its configuration(s) and required dependencies -alias pacrem='sudo pacman -Rns' # Remove the specified package(s), its configuration(s) and unneeded dependencies +alias pacrem='sudo pacman -Rns' # Remove the specified package(s) and unneeded dependencies alias pacrm='sudo pacman -Rnsc' # Remove the specified package(s), its configuration(s) and unneeded dependencies alias pacsi='pacman -Sii' # Display information about a given package in the repositories alias pacss='pacman -Ss' # Search for package(s) in the repositories