diff options
author | June McEnroe <june@causal.agency> | 2013-04-06 12:50:22 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2013-04-06 12:50:22 -0400 |
commit | 52a4f2437229b19e8c8eb2be7c191621fc4d413c (patch) | |
tree | b458c551c9b03a064f9f1e73d1670042004524cb | |
parent | Restore wallpaper automatically (diff) | |
download | src-52a4f2437229b19e8c8eb2be7c191621fc4d413c.tar.gz src-52a4f2437229b19e8c8eb2be7c191621fc4d413c.zip |
Drop pacman-color, regular pacman now has color
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc index 68ea7a3b..e520b1c5 100644 --- a/.zshrc +++ b/.zshrc @@ -70,14 +70,12 @@ export PATH=$PATH:~/bin # Functions and aliases -PACMAN=pacman-color - function pacman { case $1 in -S | -S[^si]* | -R* | -U*) - sudo $PACMAN "$@" ;; + sudo /usr/bin/pacman "$@" ;; *) - $PACMAN "$@" ;; + /usr/bin/pacman "$@" ;; esac } @@ -136,5 +134,5 @@ alias gt='git tag' alias gu='git pull' # Update all the time! -/usr/bin/pacman -Qu > /dev/null && [ ! -f /var/lib/pacman/db.lck ] && sudo $PACMAN -Syu +/usr/bin/pacman -Qu > /dev/null && [ ! -f /var/lib/pacman/db.lck ] && pacman -Syu true |