summaryrefslogtreecommitdiff
path: root/plugins/ubuntu
diff options
context:
space:
mode:
authorHaltarys <45515869+Haltarys@users.noreply.github.com>2022-11-11 09:49:41 +0100
committerGitHub <noreply@github.com>2022-11-11 09:49:41 +0100
commit5bfdd0356b46dc711a8f0866eeb9b717c033d5b2 (patch)
tree1020d450dbe63053be00da9a5fe02417048fff6b /plugins/ubuntu
parentfcbfdf42de702d55174fe2b19142ba232289671e (diff)
downloadzsh-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/ubuntu')
-rw-r--r--plugins/ubuntu/README.md2
-rw-r--r--plugins/ubuntu/ubuntu.plugin.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ubuntu/README.md b/plugins/ubuntu/README.md
index 20f5c65ee..2401c102b 100644
--- a/plugins/ubuntu/README.md
+++ b/plugins/ubuntu/README.md
@@ -15,7 +15,7 @@ Commands that use `$APT` will use `apt` if installed or defer to `apt-get` other
| Alias | Command | Description |
|---------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
| age | `sudo $APT` | Run apt-get with sudo |
-| acs | `apt-cache search` | Search the apt-cache with the specified criteria |
+| acse | `apt-cache search` | Search the apt-cache with the specified criteria |
| acsp | `apt-cache showpkg` | Shows information about the listed packages |
| acp | `apt-cache policy` | Display the package source priorities |
| afs | `apt-file search --regexp` | Perform a regular expression apt-file search |
diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
index 7b765a406..4d35da2ac 100644
--- a/plugins/ubuntu/ubuntu.plugin.zsh
+++ b/plugins/ubuntu/ubuntu.plugin.zsh
@@ -1,6 +1,6 @@
(( $+commands[apt] )) && APT=apt || APT=apt-get
-alias acs='apt-cache search'
+alias acse='apt-cache search'
alias afs='apt-file search --regexp'