summaryrefslogtreecommitdiff
path: root/provides
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-17 00:24:53 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-17 00:24:53 +0200
commitc870dfa0a5f4e9ba138bc72900130af069c22802 (patch)
tree8272c1abece1a27b00a3d460b7b2c0a6e250d152 /provides
parent6f850f01b245c9e36e29f2fa7e25fd735289c578 (diff)
Added zsh aliases
Diffstat (limited to 'provides')
-rw-r--r--provides/zsh/aliases44
1 files changed, 44 insertions, 0 deletions
diff --git a/provides/zsh/aliases b/provides/zsh/aliases
new file mode 100644
index 0000000..280b1dc
--- /dev/null
+++ b/provides/zsh/aliases
@@ -0,0 +1,44 @@
+## Debian package system (aptitude/apt-get, apt-cache, dpkg)
+
+# Search the packages list
+alias acse='apt-cache search'
+alias afse='apt-file search'
+alias apse='aptitude search'
+
+# Show package information
+alias acsh='apt-cache show'
+alias afsh='apt-file show'
+alias apsh='aptitude show'
+alias dps='dpkg --status'
+
+# Update packages list
+alias agu='sudo apt-get update'
+alias apu='sudo 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'
+
+# Install packages
+alias agi='sudo apt-get install'
+alias api='sudo aptitude install'
+alias dpi='sudo dpkg --install'
+
+# Clean packages cache
+alias agc='sudo apt-get clean'
+alias apc='sudo 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'
+
+
+# Configure packages
+alias dprc='sudo dpkg-reconfigure'
+
+alias acp='apt-cache policy'