Browse Source

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
Oshadha Gunawardena 3 years ago
parent
commit
3cdc36fc1e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/ubuntu/ubuntu.plugin.zsh

+ 3 - 0
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'