diff options
author | Oshadha Gunawardena <oshadha.rocky@gmail.com> | 2021-06-12 18:53:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 06:23:29 -0700 |
commit | 3cdc36fc1eb096804a448ded93da1667e1b3f230 (patch) | |
tree | 9efdcb5120015f02271995744ae82ebb1068595d /plugins/ubuntu/ubuntu.plugin.zsh | |
parent | 6779e10759c7c45f18a3ade1efac4d87b5ded7f1 (diff) | |
download | zsh-3cdc36fc1eb096804a448ded93da1667e1b3f230.tar.gz zsh-3cdc36fc1eb096804a448ded93da1667e1b3f230.tar.bz2 zsh-3cdc36fc1eb096804a448ded93da1667e1b3f230.zip |
feat(plugins): Add a new showpkg alias to ubuntu plugin (#4653)
Add an alias for ```showpkg``` to get the reverse and recursive dependencies on a package
Diffstat (limited to 'plugins/ubuntu/ubuntu.plugin.zsh')
-rw-r--r-- | plugins/ubuntu/ubuntu.plugin.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh index a53752fb2..989ffd1ff 100644 --- a/plugins/ubuntu/ubuntu.plugin.zsh +++ b/plugins/ubuntu/ubuntu.plugin.zsh @@ -15,6 +15,9 @@ alias agli='apt list --installed' # List available updates only alias aglu='apt list --upgradable' +alias acsp='apt-cache showpkg' +compdef _acsp acsp='apt-cache showpkg' + # superuser operations ###################################################### alias afu='sudo apt-file update' |