Add colour to cower. How aur wrappers are managed at the moment is not ideal.

This commit is contained in:
Simon Gomizelj 2011-11-28 18:08:17 -05:00
commit 30d95b2bc9
2 changed files with 5 additions and 1 deletions

View file

@ -8,7 +8,7 @@
# Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips # 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 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 pacin='sudo pacman -S' # Install specific package(s) from the repositories
alias pacins='sudo pacman -U' # Install specific package not from the repositories but from a file alias pacins='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 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), its configuration(s) and unneeded dependencies
alias pacrep='pacman -Si' # Display information about a given package in the repositories alias pacrep='pacman -Si' # Display information about a given package in the repositories
@ -61,3 +61,6 @@ pacman() {
*) $pacman_bin "$@" ;; *) $pacman_bin "$@" ;;
esac esac
} }
# TODO There needs to be a better way to support this
[[ -x /usr/bin/cower ]] && source $ZSH/plugins/archlinux/aur-helpers/aur-helper-cower.zsh

View file

@ -0,0 +1 @@
alias cower='cower --color=auto'