[Bash-completion-devel] Bug#622383: bash-completion: completion only works from left to right: error : bash: $index: substring expression < 0

Alban Browaeys prahal at yahoo.com
Tue Apr 12 16:56:58 UTC 2011


Package: bash-completion
Version: 1:1.3-2
Severity: wishlist

Typing :
$ ls a
then moving the cursor between 'ls' and 'a' and pressing <Tab> leads to:
bash: $index: substring expression < 0

Thus completion only works right to the last character in a command. Is a fix
at reach ? Or is it by design ?
I could spend some time on this issue though I have not looked into it since bash 3.0 so
I bet most of what I know is obsolete. A clue would be welcomed.

Best regards,
Alban

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          4.1-3      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information





More information about the Bash-completion-devel mailing list