Skip to content

Commit

Permalink
Add test autocompletion for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishiking committed Dec 6, 2018
1 parent 9a23717 commit fcec653
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/bash/bloop
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ _bloop() {
command=${COMP_WORDS[1]}

case "${prev}" in
--only|-o)
if [ "$command" == "test" ]; then
_testsfqcn
fi
;;
-*)
flag="$prev"
_callCompletionForCommandAndFlag "$command" "$flag"
Expand Down

0 comments on commit fcec653

Please sign in to comment.