diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh index 10a84866a..ffda84bf7 100644 --- a/plugins/archlinux/archlinux.plugin.zsh +++ b/plugins/archlinux/archlinux.plugin.zsh @@ -8,7 +8,7 @@ # 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 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 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 @@ -61,3 +61,6 @@ pacman() { *) $pacman_bin "$@" ;; 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 diff --git a/plugins/archlinux/aur-helpers/aur-helper-cower.zsh b/plugins/archlinux/aur-helpers/aur-helper-cower.zsh index e69de29bb..229af7653 100644 --- a/plugins/archlinux/aur-helpers/aur-helper-cower.zsh +++ b/plugins/archlinux/aur-helpers/aur-helper-cower.zsh @@ -0,0 +1 @@ +alias cower='cower --color=auto'