summaryrefslogtreecommitdiff
path: root/plugins/debian/README.md
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-12-29 11:08:02 +0100
committerMarc Cornellà <hello@mcornella.com>2021-12-29 11:08:02 +0100
commit37b278cd034f8e995a274db92aab7f4a33c0e1d8 (patch)
tree6568c42d25613fd11044ae3d8bb053d4bb086bdf /plugins/debian/README.md
parentb38da62b23e08271fad9fc25a0bb47e89215a431 (diff)
downloadzsh-37b278cd034f8e995a274db92aab7f4a33c0e1d8.tar.gz
zsh-37b278cd034f8e995a274db92aab7f4a33c0e1d8.tar.bz2
zsh-37b278cd034f8e995a274db92aab7f4a33c0e1d8.zip
chore(debian): document previous alias
Diffstat (limited to 'plugins/debian/README.md')
-rw-r--r--plugins/debian/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/debian/README.md b/plugins/debian/README.md
index 922d68cb3..ac2eec84d 100644
--- a/plugins/debian/README.md
+++ b/plugins/debian/README.md
@@ -44,6 +44,7 @@ Set `$apt_pref` and `$apt_upgr` to whatever command you want (before sourcing Oh
| `ail` | `sed -e 's/ */ /g' -e 's/ *//' \| cut -s -d ' ' -f 1 \| xargs sudo $apt_pref install` | Install all packages given on the command line while using only the first word of each line |
| `ap` | `sudo $apt_pref purge` | Removes packages along with configuration files |
| `ar` | `sudo $apt_pref remove` | Removes packages, keeps the configuration files |
+| `aar` | `sudo $apt_pref autoremove` | Removes packages installed automatically that are no longer needed |
| `ads` | `sudo apt-get dselect-upgrade` | Installs packages from list and removes all not in the list |
| `dia` | `sudo dpkg -i ./*.deb` | Install all .deb files in the current directory |
| `di` | `sudo dpkg -i` | Install all .deb files in the current directory |
@@ -54,6 +55,7 @@ Set `$apt_pref` and `$apt_upgr` to whatever command you want (before sourcing Oh
| Alias | Command |
| ----- | --------------------------------------------------------- |
| `aac` | `su -ls "$apt_pref autoclean" root` |
+| `aar` | `su -ls "$apt_pref autoremove" root` |
| `ac` | `su -ls "$apt_pref clean" root` |
| `ad` | `su -lc "$apt_pref update" root` |
| `adg` | `su -lc "$apt_pref update && aptitude $apt_upgr" root` |