From 75b0449cfcd6c3adb92b04dbdbf2c4b33184893c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 5 Sep 2013 16:42:58 -0400 Subject: Remove pacman stuff Goodbye Arch. --- .zshrc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.zshrc b/.zshrc index c5828589..8eae3dbf 100644 --- a/.zshrc +++ b/.zshrc @@ -81,15 +81,6 @@ function game { xinit =$1 ${@:2} -- :1 vt6 } -function pacman { - case $1 in - -S | -S[^si]* | -R* | -U*) - sudo /usr/bin/pacman "$@" ;; - *) - /usr/bin/pacman "$@" ;; - esac -} - function mkcd { mkdir $@ if [ "$1" = "-p" ]; then @@ -115,11 +106,6 @@ alias ls='ls --color=auto' alias grep='grep --color=auto' alias rm='rm -vI' -alias S='pacman -S' -alias Syu='pacman -Syu' -alias Ss='pacman -Ss' -alias p='pacman' - if which hub &> /dev/null; then compdef hub=git alias git=hub @@ -145,6 +131,3 @@ alias gs='git status -sb' alias gsh='git show' alias gt='git tag' alias gu='git pull' - -[ -f /usr/bin/pacman ] && /usr/bin/pacman -Qu > /dev/null && echo "$(/usr/bin/pacman -Qu | wc -l) updates" -true -- cgit 1.4.1