diff options
author | Haltarys <45515869+Haltarys@users.noreply.github.com> | 2022-11-11 09:49:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 09:49:41 +0100 |
commit | 5bfdd0356b46dc711a8f0866eeb9b717c033d5b2 (patch) | |
tree | 1020d450dbe63053be00da9a5fe02417048fff6b /plugins/debian | |
parent | fcbfdf42de702d55174fe2b19142ba232289671e (diff) | |
download | zsh-5bfdd0356b46dc711a8f0866eeb9b717c033d5b2.tar.gz zsh-5bfdd0356b46dc711a8f0866eeb9b717c033d5b2.tar.bz2 zsh-5bfdd0356b46dc711a8f0866eeb9b717c033d5b2.zip |
fix(ubuntu)!: rename `acs` alias to `acse (#11334)
BREAKING CHANGE: `acs` alias, present in both `ubuntu` and `debian` plugins conflicts with `acs` function in aliases plugin. Change it to prevent ghosting of one of them.
Diffstat (limited to 'plugins/debian')
-rw-r--r-- | plugins/debian/README.md | 2 | ||||
-rw-r--r-- | plugins/debian/debian.plugin.zsh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/debian/README.md b/plugins/debian/README.md index 1db534f13..c1ebe1c50 100644 --- a/plugins/debian/README.md +++ b/plugins/debian/README.md @@ -21,7 +21,7 @@ Set `$apt_pref` and `$apt_upgr` to whatever command you want (before sourcing Oh | ------ | ---------------------------------------------------------------------- | ---------------------------------------------------------- | | `age` | `apt-get` | Command line tool for handling packages | | `api` | `aptitude` | Same functionality as `apt-get`, provides extra options | -| `acs` | `apt-cache search` | Command line tool for searching apt software package cache | +| `acse` | `apt-cache search` | Command line tool for searching apt software package cache | | `aps` | `aptitude search` | Searches installed packages using aptitude | | `as` | `aptitude -F '* %p -> %d \n(%v/%V)' --no-gui --disable-columns search` | Print searched packages using a custom format | | `afs` | `apt-file search --regexp` | Search file in packages | diff --git a/plugins/debian/debian.plugin.zsh b/plugins/debian/debian.plugin.zsh index 2d8c4666e..bab1ae1c6 100644 --- a/plugins/debian/debian.plugin.zsh +++ b/plugins/debian/debian.plugin.zsh @@ -26,7 +26,7 @@ alias age='apt-get' alias api='aptitude' # Some self-explanatory aliases -alias acs="apt-cache search" +alias acse="apt-cache search" alias aps='aptitude search' alias as="aptitude -F '* %p -> %d \n(%v/%V)' --no-gui --disable-columns search" @@ -51,7 +51,7 @@ if [[ $use_sudo -eq 1 ]]; then alias au="sudo $apt_pref $apt_upgr" alias ai="sudo $apt_pref install" # Install all packages given on the command line while using only the first word of each line: - # acs ... | ail + # acse ... | ail alias ail="sed -e 's/ */ /g' -e 's/ *//' | cut -s -d ' ' -f 1 | xargs sudo $apt_pref install" alias ap="sudo $apt_pref purge" |