summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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