Browse Source

Filter other remote branches.

master
Sorin Ionescu 13 years ago
parent
commit
304530d990
  1. 1
      plugins/git/completions/_git-hub

1
plugins/git/completions/_git-hub

@ -26,6 +26,7 @@ case "$state" in @@ -26,6 +26,7 @@ case "$state" in
remote="$words[(($CURRENT - 1))]"
branches=($(
git branch -r \
| grep "${remote}/" \
| sed \
-e "/${remote}\/HEAD -> ${remote}/d" \
-e "s/^[[:space:]]*${remote}\///g"

Loading…
Cancel
Save