summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-04-06 12:50:22 -0400
committerJune McEnroe <programble@gmail.com>2013-04-06 12:50:22 -0400
commitb64b689cb56937363c57ce423d4049546c7cdd84 (patch)
treeb33ecf4a1821e1e9dc8922f8fc57cc9a8f232f29 /.zshrc
parentRestore wallpaper automatically (diff)
downloadsrc-b64b689cb56937363c57ce423d4049546c7cdd84.tar.gz
src-b64b689cb56937363c57ce423d4049546c7cdd84.zip
Drop pacman-color, regular pacman now has color
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc8
1 files changed, 3 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc
index ee80e3cc..b2173be4 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