[Bash-completion-devel] [patch] /etc/profile.d/bash_completion.sh
Igor Murzov
intergalactic.anonymous at gmail.com
Tue May 13 21:06:03 UTC 2014
On Sat, 23 Nov 2013 18:09:58 +0100
Thilo Six <mlist at Xk2c.de> wrote:
> Hello
>
>
> ,----[ /etc/profile.d/bash_completion.sh ]--------
>
> - bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
> - if [ $bmajor -gt 4 ] || [ $bmajor -eq 4 -a $bminor -ge 1 ]; then
> + if [[ ${BASH_VERSINFO[0]} -gt 4 ]] || \
> + ( [[ ${BASH_VERSINFO[0]} -eq 4 ]] && [[ ${BASH_VERSINFO[1]} -ge 1 ]] ); then
> `-----------------------------------------------------------------------
Commited. Thanks for the patch :)
-- Igor
> kind regards,
>
> Thilo
More information about the Bash-completion-devel
mailing list