Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion problem with '291' ok with '274'.



On 02/10/2015 08:20 PM, Bart Schaefer wrote:
OK, with those settings the first thing you should see (on the first TAB)
is something like:

torch% ./zsh
Completing executable file or directory
zsh*              zsh-5.0.3*        zsh-5.0.5*        zsh.old*
zsh-5.0.2-dev-0*  zsh-5.0.4*        zsh-5.0.7*

The second TAB does nothing because it is selecting the first match in
the list, which is just "zsh".  The third tab should advance to the
second match in the list (which in my case is "zsh-5.0.2-dev-0").

Right, it's like that with 274 but with 291 the first TAB gives me a new prompt or it crashes. I understand the 'nothing' TABS.

    #autoload -U compinit && compinit

... and all is well.


    autoload -U compinit && compinit
    return

... and I still have the problem, (the return skips all 'style' lines.)
It's -H or --hold with two leading hyphens (there's your inconsistency
again ... X11/Xorg apps standardize on long names with a single hyphen,
other apps use the GNU convention of double hyphens).

I'll stick with real xterm for now so that there's no confusion. (Somehow, that inconsistency doesn't bother me, I'd not be expecting consistency there. That's worth thinking about. Presumptuous double standard?)

Should work to just do

	xfce4-terminal gdb /usr/local/bin/zsh-5.0.7-293-g0209635

and then at the "(gdb) " prompt, type "run".  Then when it crashes you'll
be back at the (gdb) prompt, type "where".

Output:

Starting program: /usr/local/bin/zsh-5.0.7-293
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".

                                                                                    TAB here:
pts/5 HP-w5--5-Debian1 root /usr/local/bin 3$ l zsh[Inferior 1 (process 19073) exited normally]
(gdb) where
No stack.
(gdb)





Messages sorted by: Reverse Date, Date, Thread, Author