Skip to content

Commit

Permalink
Remove Bash completion for obsolete commands
Browse files Browse the repository at this point in the history
  • Loading branch information
extsoft committed Oct 8, 2019
1 parent 8ab3896 commit b25d8a6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions completions/git-elegant.bash
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ _git_elegant() {
local opts=($(git elegant commands))
COMPREPLY=( $(compgen -W "${opts[*]}" -- ${cursor}) )
return 0 ;;
pull|epull)
local data=$(git branch | awk -F ' +' '! /\(no branch\)/ {print $2}')
COMPREPLY=( $(compgen -W "${data}" ${cursor}) )
return 0 ;;
accept-work|obtain-work)
COMPREPLY=(
$(compgen -W "$(git branch --remotes --list)" -- ${cursor})
Expand Down

0 comments on commit b25d8a6

Please sign in to comment.