on Trusty, nothing obvious goes wrong with shopt -s failglob.
set -o nounset breaks everything, though.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/663111
Title:
bash_completion script errors:
Does anyone have a workaround for this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/663111
Title:
bash_completion script errors: undefined variables, failed GLOB
To manage notifications about
Hi Daisy, No workaround that I know of.
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/194419/comments/29
suggests wrapping the entry and exit of the broken functions with a
save-and-restore of failglob.
https://wiki.debian.org/Teams/BashCompletion/Proposals/Roadmap says 3.0
will
** Changed in: bash-completion (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/663111
Title:
bash_completion script errors: undefined variables, failed GLOB
Trivial to reproduce. I've just upgraded from 8.04 - 10.04 - 10.10
and it seems bash_completion has been re-enabled for me somewhere along
the line. Because I have failglob set Tab filename completion is
broken.
$ shopt -u failglob
$ ls /nonexistant^C
$ shopt -s failglob
$ ls
** Attachment added: patch for /etc/bash_completion to fix undefined variables
and failed GLOB
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/663111/+attachment/1722562/+files/patch.txt
** Patch removed: patch for /etc/bash_completion to fix undefined variables
and failed
** Patch added: patch for /etc/bash_completion to fix undefined variables and
failed GLOB
https://bugs.launchpad.net/bugs/663111/+attachment/1701054/+files/patch.txt
--
bash_completion script errors: undefined variables, failed GLOB
https://bugs.launchpad.net/bugs/663111
You received this
Another undefined variable error, but I'm not sure if the fix is
correct:
--- .desktop-file-validate.ORIG 2010-09-08 06:14:56.0 -0400
+++ desktop-file-validate 2010-10-11 16:18:22.215080283 -0400
@@ -9,4 +9,4 @@
cur=${COMP_WORDS[COMP_CWORD]}
_filedir '@(desktop)'
}
And the /etc/bash_completion.d/mutt script fails badly if you have a
line using pipes such as this in your .muttrc:
source ~/sh/muttaliases.sh|
bash$ mutt TABsed: can't read ~/sh/muttaliases.sh|: No such file or directory
bash: eval: line -150: syntax error: unexpected end of file
^C
** Tags added: patch
--
bash_completion script errors: undefined variables, failed GLOB
https://bugs.launchpad.net/bugs/663111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
10 matches
Mail list logo