Bug#463507: Need more info. (zsh: Completion fails with: _main_complete:161: permission denied:)
On Wed, 31 Dec 2008 17:07:05 +0100 R. Hartmann wrote: can you try this, please? 1) zsh -f 2) rm -rf .zsh/cache Oh, and rm ~/.zcompdump After doing that, 'ls -TAB' shows nothing. The _main_complete:161: permission denied: error returns after exiting restarting 'zsh' without the '-f' etc. Might be worth noting: with plain 'zsh' doing 'ls TAB' outputs the same error, but with 'zsh -f' etc. 'ls TAB' works much like 'bash' does, showing various filenames. PS: (RH, please CC me next time, I only saw your replies when coincidentally checking if the BTS control server worked right. Someday they'll fix bug #37078, Subscribe submitter to the per-bug subscription list by default.) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#463507: Need more info. (zsh: Completion fails with: _main_complete:161: permission denied:)
On Fri, Jan 02, 2009 at 03:26:35PM -0500, A. Costa wrote: On Wed, 31 Dec 2008 17:07:05 +0100 R. Hartmann wrote: can you try this, please? 1) zsh -f 2) rm -rf .zsh/cache Oh, and rm ~/.zcompdump After doing that, 'ls -TAB' shows nothing. You'll need to also do 'autoload -Uz compinit;compinit' to make the switch from compctl to compsys. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#463507: Need more info. (zsh: Completion fails with: _main_complete:161: permission denied:)
On Fri, 2 Jan 2009 21:55:44 + Clint Adams sch...@debian.org wrote: autoload -Uz compinit;compinit Thanks, that works, 'ls -TAB' and the options show up. For BTS browsers who don't want to backtrack, the fix so far is: zsh -f rm -rf ~/.zsh/cache ~/.zcompdump autoload -Uz compinit;compinit Restarting as regular 'zsh' the bug comes back... so, assuming there's now enough data to answer: is this a 'zsh' bug, or was and is my config somehow borked? If my config is borked, what's the right way to make this fix permanent default? BTW: I notice the 'zsh' switch completion seems more thorough than that of 'bash'. 'bash' only does a '--' (double hyphen) completion, but 'zsh' does single and double hyphens. The 'fish' shell has completion powers comparable to 'zsh'. Another observation, maybe different bug. With the above fix, if I do: ls --nTAB 'zsh' auto-completes this as: ls --n-g ...which does not currently seem to be an 'ls' option. Hitting TAB a second time auto-completes as: ls --no-group ...which is a proper 'ls' option. Bug, or maybe some legacy 'ls' option? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#463507: Need more info. (zsh: Completion fails with: _main_complete:161: permission denied:)
On Fri, Jan 02, 2009 at 06:03:27PM -0500, A. Costa wrote: Restarting as regular 'zsh' the bug comes back... so, assuming there's now enough data to answer: is this a 'zsh' bug, or was and is my config somehow borked? If my config is borked, what's the right way to Well, possibly both. All we've established thus far is that something in your config is consistently triggering something unexpected. Try ls -Ctrl-X? (that is, hit whatever's bound to _complete_debug at the point you would normally trigger the error with TAB) and send the resulting debug output in /tmp to the bug report. make this fix permanent default? BTW: I notice the 'zsh' switch completion seems more thorough than that of 'bash'. 'bash' only does a '--' (double hyphen) completion, but 'zsh' does single and double hyphens. The 'fish' shell has completion powers comparable to 'zsh'. Another observation, maybe different bug. With the above fix, if I do: ls --nTAB 'zsh' auto-completes this as: ls --n-g ...which does not currently seem to be an 'ls' option. Hitting TAB a second time auto-completes as: ls --no-group ...which is a proper 'ls' option. Bug, or maybe some legacy 'ls' option? I think that's a bug.. it should be offering you --no-group and --numeric-uid-gid until you disambiguate. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#463507: Need more info. (zsh: Completion fails with: _main_complete:161: permission denied:)
On Sat, Jan 3, 2009 at 00:58, Clint Adams sch...@debian.org wrote: I think that's a bug.. it should be offering you --no-group and --numeric-uid-gid until you disambiguate. That is a bug, but I have no idea where that comes from.. Richard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org