summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2011-05-13 15:35:11 +0200
committerHugues Hiegel <hugues@hiegel.fr>2011-05-13 15:35:11 +0200
commitde6e3946ace629f85895eb9c1cdd0c7e7a64d910 (patch)
tree33d465d18b62fcd98c79b3de9add44573cada766
parente9ac46d8204599d4ab7018d4369d0f92af9669af (diff)
[Aliases] added pacman to sudo-ed commands
-rw-r--r--user:hugues/Aliases.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/user:hugues/Aliases.zsh b/user:hugues/Aliases.zsh
index c8f16ec..1d788af 100644
--- a/user:hugues/Aliases.zsh
+++ b/user:hugues/Aliases.zsh
@@ -45,6 +45,7 @@ autoload zmv
a mmv='noglob zmv -W'
normal_user && cmd_exists apt-get && a apt-get='sudo apt-get'
+normal_user && cmd_exists pacman && a pacman='sudo pacman'
a rt='find -maxdepth 1 -type f \( -name "*~" -o -name ".*~" -o -name "#*#" -o -name ".*.swp" \) -exec rm -vf \{\} \;'
a RT='find -type f \( -name "*~" -o -name ".*~" -o -name "#*#" -o -name ".*.swp" \) -exec rm -vf \{\} \;'