diff --git a/completions/git-elegant.bash b/completions/git-elegant.bash index aae7191..816e03a 100755 --- a/completions/git-elegant.bash +++ b/completions/git-elegant.bash @@ -26,7 +26,7 @@ _git_elegant() { accept-work|obtain-work) local opts=( ${gecops} - $(git branch --remotes --list) + $(git for-each-ref --format='%(refname:short)' refs/remotes) ) COMPREPLY=( $(compgen -W "${opts[*]}" -- ${cursor})