github.com/mshitrit/go-mutesting@v0.0.0-20210528084812-ff81dcaedfea/cmd/go-mutesting/go-mutesting-bash_completion.sh (about) 1 #/bin/sh 2 3 _go_mutesting() { 4 args=("${COMP_WORDS[@]:1:$COMP_CWORD}") 5 6 local IFS=$'\n' 7 COMPREPLY=($(GO_FLAGS_COMPLETION=1 ${COMP_WORDS[0]} "${args[@]}")) 8 return 1 9 } 10 11 complete -F _go_mutesting go-mutesting