7d27843e892e0906e70b7392c20ddde149636553
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
ubuntu: rename ag to age to avoid conflict with The Silver Searcher
Fixes #3866
Diff
1diff --git a/plugins/ubuntu/README.md b/plugins/ubuntu/README.md
2index fd03f6afeed5b274066425c6cde890ec70221380..f72182f5c88f4f73d215f5640f067ced3660696d 100644
3--- a/plugins/ubuntu/README.md
4+++ b/plugins/ubuntu/README.md
5@@ -14,11 +14,11 @@ Commands that use `$APT` will use `apt` if installed or defer to `apt-get` other
6
7 | Alias | Command | Description |
8 |---------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
9+| age | `sudo $APT` | Run apt-get with sudo |
10 | acs | `apt-cache search` | Search the apt-cache with the specified criteria |
11 | acp | `apt-cache policy` | Display the package source priorities |
12 | afs | `apt-file search --regexp` | Perform a regular expression apt-file search |
13 | afu | `sudo apt-file update` | Generates or updates the apt-file package database |
14-| ag | `sudo $APT` | Run apt-get with sudo |
15 | aga | `sudo $APT autoclean` | Clears out the local reposityory of retrieved package files that can no longer be downloaded |
16 | agb | `sudo $APT build-dep <source_pkg>` | Installs/Removes packages to satisfy the dependencies of a specified build pkg |
17 | agc | `sudo $APT clean` | Clears out the local repository of retrieved package files leaving everything from the lock files |
18diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
19index 6481fa3716a76f199956863b9b4a4fd037376067..d589096c38251de2f279db000dc3af9178371dff 100644
20--- a/plugins/ubuntu/ubuntu.plugin.zsh
21+++ b/plugins/ubuntu/ubuntu.plugin.zsh
22@@ -21,7 +21,7 @@ alias afu='sudo apt-file update'
23
24 alias ppap='sudo ppa-purge'
25
26-alias ag="sudo $APT"
27+alias age="sudo $APT"
28 alias aga="sudo $APT autoclean"
29 alias agb="sudo $APT build-dep"
30 alias agc="sudo $APT clean"