Added which to scoop completion.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 21 Dec 2022 13:23:30 +0200
changeset 1008 86630b8cd151
parent 1007 0077617b0deb
child 1009 3f4f94c38069
Added which to scoop completion.
.bash_completion.d/scoop
--- a/.bash_completion.d/scoop	Sat Dec 24 13:30:30 2022 +0200
+++ b/.bash_completion.d/scoop	Wed Dec 21 13:23:30 2022 +0200
@@ -46,7 +46,7 @@
 
   local cmd="${COMP_WORDS[1]}"
   case "$cmd" in
-    cat|depends|download|export|hold|home|info|install|prefix|reset|status|unhold|uninstall|update|virustotal)
+    cat|depends|download|export|hold|home|info|install|prefix|reset|status|unhold|uninstall|update|virustotal|which)
       local dir=`command -v scoop`
       dir=${dir%/shims/*}/buckets
       [[ -d "$dir" ]] || return