Merge branch 'bc/completion-for-bash-3.0'
* bc/completion-for-bash-3.0: git-completion.bash: replace zsh notation that breaks bash 3.X
This commit is contained in:
commit
1ddc11a6fd
@ -2581,7 +2581,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
|
|||||||
--*=*|*.) ;;
|
--*=*|*.) ;;
|
||||||
*) c="$c " ;;
|
*) c="$c " ;;
|
||||||
esac
|
esac
|
||||||
array+=("$c")
|
array[$#array+1]="$c"
|
||||||
done
|
done
|
||||||
compset -P '*[=:]'
|
compset -P '*[=:]'
|
||||||
compadd -Q -S '' -p "${2-}" -a -- array && _ret=0
|
compadd -Q -S '' -p "${2-}" -a -- array && _ret=0
|
||||||
|
Loading…
Reference in New Issue
Block a user