[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bash 4.2 completion fails with failglob option enabled
From: |
Andrey Osipov |
Subject: |
Bash 4.2 completion fails with failglob option enabled |
Date: |
Wed, 02 Oct 2013 17:46:04 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hello, everyone.
bash 4.2 completion misfunctions with failglob option enabled.
This problem doesn't occur in bash 3.2.
Is failglob meant to be used in interactive shell?
$ bash --version
GNU bash, version 4.2.0(1)-release (i686-pc-linux-gnulibc1)
$ # failglob is unset
$ # completion fails
$ shopt -u failglob
$ touch asd123
$ echo asd???
asd123
~ $ echo asdf???
asdf???
$ ls .ba<TAB>sh
.bash_history .bash_logout .bashrc .bashrc~
$ # failglob is set
$ # completion fails
$ shopt -s failglob
$ echo asd???
asd123
$ echo asdf???
-bash: no match: asdf???
$ ls .ba<TAB>bash: no match: words[0]=${!ref}${COMP_WORDS[i]}
Thank you for considering my request.
- Bash 4.2 completion fails with failglob option enabled,
Andrey Osipov <=