When commit d8b45314 began separating the zsh completion from the bash
completion, it introduced a zsh completion bridge section into the bash
completion script for zsh users to use until they migrated to the zsh
script. The zsh '+=()' append-to-array notation prevents bash 3.00.15 on
CentOS 4.x
Brandon Casey draf...@gmail.com writes:
+ array[$(($#array+1))]=$c
You don't need $(( )) since the array index is already evaluated as an
arithmethic expression.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3
Brandon Casey draf...@gmail.com writes:
On Fri, Jan 18, 2013 at 7:02 AM, Andreas Schwab sch...@linux-m68k.org wrote:
Brandon Casey draf...@gmail.com writes:
+ array[$(($#array+1))]=$c
You don't need $(( )) since the array index is already evaluated as an
On Fri, Jan 18, 2013 at 11:08 AM, Junio C Hamano gits...@pobox.com wrote:
Brandon Casey draf...@gmail.com writes:
On Fri, Jan 18, 2013 at 7:02 AM, Andreas Schwab sch...@linux-m68k.org
wrote:
Brandon Casey draf...@gmail.com writes:
+ array[$(($#array+1))]=$c
4 matches
Mail list logo