diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-19 08:06:30 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-19 08:06:30 +0100 |
commit | f2a3d27e39030513b7eb2defa68d2b852c95f6de (patch) | |
tree | c3c3883d54cac3b5e6b78be52c34279393f46c85 /etc/aliases | |
parent | fe900eccb0d78a77fde6c131e3880031bd758fbc (diff) |
Re-added Debian aliases
Diffstat (limited to 'etc/aliases')
-rw-r--r-- | etc/aliases/debian | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/aliases/debian b/etc/aliases/debian new file mode 100644 index 0000000..4e43639 --- /dev/null +++ b/etc/aliases/debian @@ -0,0 +1,47 @@ +## vim:ft=zsh +## 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 +salias agu='apt-get update' +salias apu='aptitude update' + +# Update packages +salias ags='apt-get upgrade' +salias agf='apt-get dist-upgrade' +salias aps='aptitude safe-upgrade' +salias apf='aptitude full-upgrade' + +# Install packages +salias agi='apt-get install' +salias api='aptitude install' +salias dpi='dpkg --install' + +# Clean packages cache +salias agc='apt-get clean' +salias apc='aptitude clean' + +# Remove/Purge packages +salias agar='apt-get autoremove' +salias agp='apt-get purge' +salias agr='apt-get remove' +salias dpp='dpkg --purge' +salias dpr='dpkg --remove' + +# Get package source +alias agsrc='apt-get source' + +# Configure packages +salias dprc='dpkg-reconfigure' + +alias acp='apt-cache policy' |