3cdc36fc1eb096804a448ded93da1667e1b3f230

Author
Oshadha Gunawardena <oshadha.rocky@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

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

Diff

 1diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
 2index a53752fb2df3e90cc273c4768bbd0a2e36227b2d..989ffd1ff866bea48bfb0021ae77d75cfc6f9150 100644
 3--- a/plugins/ubuntu/ubuntu.plugin.zsh
 4+++ b/plugins/ubuntu/ubuntu.plugin.zsh
 5@@ -15,6 +15,9 @@ alias agli='apt list --installed'
 6 # List available updates only
 7 alias aglu='apt list --upgradable'
 8 
 9+alias acsp='apt-cache showpkg'
10+compdef _acsp acsp='apt-cache showpkg'
11+
12 # superuser operations ######################################################
13 
14 alias afu='sudo apt-file update'