Skip to content

Commit

Permalink
Merge branch 'bc/completion-for-bash-3.0'
Browse files Browse the repository at this point in the history
* bc/completion-for-bash-3.0:
  git-completion.bash: replace zsh notation that breaks bash 3.X
  • Loading branch information
Junio C Hamano committed Jul 30, 2013
2 parents 8f6a3e5 + e78095c commit 1ddc11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2581,7 +2581,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
--*=*|*.) ;;
*) c="$c " ;;
esac
array+=("$c")
array[$#array+1]="$c"
done
compset -P '*[=:]'
compadd -Q -S '' -p "${2-}" -a -- array && _ret=0
Expand Down

0 comments on commit 1ddc11a

Please sign in to comment.