|
From: | Cristian Zoicas |
Subject: | Re: [Help-bash] shopt -s nullglob disables TAB completion |
Date: | Thu, 7 Jun 2018 14:10:04 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.2 |
Greg Wooledge wrote:
On Wed, Jun 06, 2018 at 10:41:12AM +0200, Cristian Zoicas wrote:Enabling nullglob with "shopt -s nullglob" disables TAB filename completion.Not for me. Perhaps you're using bash-completion. What happens if you try it with bash-completion disabled? ("complete -r" in a shell that has already sourced it, or launch a new bash without sourcing the bash-completion files.)
Hello Greg, Thank you for your reply. You are somehow right. Here is what I get after "complete -r": * After "complete -r" when only the default bash completion is used the completion works well. * Without 'complete -r', when programable completions are used, after "shopt -s nullglob" completions do not work at all. When I run the command 'complete' I see many compspecs defined on my machine (Debian GNU/Linux 8.10 (jessie)). I am not able to figure out which one of these compspecs causes this behavior. If this is not a behavioral bug, then it I think that it can be considered a documentation bug the fact that 'shopt -s nullglob' can alter is not specified in the manual. regards Cristian
[Prev in Thread] | Current Thread | [Next in Thread] |