Skip to content

Commit

Permalink
The BitKeeper completion used the wrong set of commands
Browse files Browse the repository at this point in the history
The line didn't correctly parse the 'bk help topics'
manpage.
  • Loading branch information
wscott committed Apr 14, 2016
1 parent 0c5929b commit be62355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/bk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _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
Expand Down

0 comments on commit be62355

Please sign in to comment.