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

Re: PATCH: expand-or-complete-prefix



On Feb 20,  9:16am, Bart Schaefer wrote:
} Subject: Re: PATCH: expand-or-complete-prefix
}
} On Feb 20,  3:00pm, Peter Stephenson wrote:
} } Subject: PATCH: expand-or-complete-prefix
} }
} } I've rewritten it as part of the standard repertoire of hacks.
} 
} Here's the patch against 3.0.5

I've just been testing this, and it breaks on menu completion:

zagzig% bindkey '\t' expand-or-complete-prefix 
zagzig% setopt menucomplete 
zagzig% ls zlc
             ^ with cursor here, press TAB, and you get
zagzig% ls zle_bindings.oc
                         ^ press TAB again
zagzig% ls zle_hist.oc
                     ^ press TAB again
zagzig% ls zle_hist.proc
                       ^ and so forth

Hmm, I just tried several other versions and this is broken at least back
to 3.0.0, so it's not Peter's fault.  Maybe it'll be easier to fix now,
though ...

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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