summaryrefslogtreecommitdiff
path: root/completions/bk
diff options
context:
space:
mode:
Diffstat (limited to 'completions/bk')
-rw-r--r--completions/bk5
1 files changed, 2 insertions, 3 deletions
diff --git a/completions/bk b/completions/bk
index 8be6fb76..334e25b4 100644
--- a/completions/bk
+++ b/completions/bk
@@ -7,13 +7,12 @@ _bk()
_init_completion || return
local BKCMDS="$( bk help topics 2>/dev/null | \
- awk '/^ bk/ { print $4 }' | xargs printf '%s ' )"
+ awk '/^ bk/ { print $2 }' | xargs printf '%s ' )"
COMPREPLY=( $( compgen -W "$BKCMDS" -- "$cur" ) )
_filedir
- return 0
} &&
complete -F _bk bk
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh