summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-30 23:24:59 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-30 23:24:59 +0200
commit96645833399d62260a1aa905e03794bae8cc2a90 (patch)
treea7e92457aa3a4a40d244c39ed5b213822190c40b
parent751e83fd4b84b3299ef0a0561263ffacef7392cb (diff)
provides/zsh/aliases: Use salias
-rw-r--r--provides/zsh/aliases35
1 files changed, 18 insertions, 17 deletions
diff --git a/provides/zsh/aliases b/provides/zsh/aliases
index 280b1dc..73a38b0 100644
--- a/provides/zsh/aliases
+++ b/provides/zsh/aliases
@@ -1,3 +1,4 @@
+## vim:ft=zsh
## Debian package system (aptitude/apt-get, apt-cache, dpkg)
# Search the packages list
@@ -12,33 +13,33 @@ alias apsh='aptitude show'
alias dps='dpkg --status'
# Update packages list
-alias agu='sudo apt-get update'
-alias apu='sudo aptitude update'
+salias agu='apt-get update'
+salias apu='aptitude update'
# Update packages
-alias ags='sudo apt-get upgrade'
-alias agf='sudo apt-get dist-upgrade'
-alias aps='sudo aptitude safe-upgrade'
-alias apf='sudo aptitude full-upgrade'
+salias ags='apt-get upgrade'
+salias agf='apt-get dist-upgrade'
+salias aps='aptitude safe-upgrade'
+salias apf='aptitude full-upgrade'
# Install packages
-alias agi='sudo apt-get install'
-alias api='sudo aptitude install'
-alias dpi='sudo dpkg --install'
+salias agi='apt-get install'
+salias api='aptitude install'
+salias dpi='dpkg --install'
# Clean packages cache
-alias agc='sudo apt-get clean'
-alias apc='sudo aptitude clean'
+salias agc='apt-get clean'
+salias apc='aptitude clean'
# Remove/Purge packages
-alias agar='sudo apt-get autoremove'
-alias agp='sudo apt-get purge'
-alias agr='sudo apt-get remove'
-alias dpp='sudo dpkg --purge'
-alias dpr='sudo dpkg --remove'
+salias agar='apt-get autoremove'
+salias agp='apt-get purge'
+salias agr='apt-get remove'
+salias dpp='dpkg --purge'
+salias dpr='dpkg --remove'
# Configure packages
-alias dprc='sudo dpkg-reconfigure'
+salias dprc='dpkg-reconfigure'
alias acp='apt-cache policy'