summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-04-06 12:50:22 -0400
committerJune McEnroe <june@causal.agency>2013-04-06 12:50:22 -0400
commit52a4f2437229b19e8c8eb2be7c191621fc4d413c (patch)
treeb458c551c9b03a064f9f1e73d1670042004524cb
parentRestore wallpaper automatically (diff)
downloadsrc-52a4f2437229b19e8c8eb2be7c191621fc4d413c.tar.gz
src-52a4f2437229b19e8c8eb2be7c191621fc4d413c.zip
Drop pacman-color, regular pacman now has color
-rw-r--r--.zshrc8
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