Skip to content

Commit

Permalink
Add competion for 'configure'
Browse files Browse the repository at this point in the history
  • Loading branch information
extsoft committed Aug 23, 2017
1 parent 17b2dca commit aa3ef3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/git-elegant-completion
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ _git_elegant() {
push)
COMPREPLY=( $(compgen -W "$(git branch | grep \* | cut -d ' ' -f2)" ${cur}) )
return 0 ;;
configure)
COMPREPLY=($(compgen -W '--global --local' -- ${cur}) )
return 0 ;;
*) ;;
esac

Expand Down

0 comments on commit aa3ef3a

Please sign in to comment.