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

Re: PATCH: zle parameters in completion widgets



On Jan 29, 11:08am, Sven Wischnowsky wrote:
} Subject: PATCH: zle parameters in completion widgets
}
} Now, to get completion only on the second tab, just add
} 
}   [[ "$WIDGET" != "$LASTWIDGET" ]] && return

Actually, the request as for completion on the first tab, but autolist
only on the second tab.  So it'd have to be something like

    [[ "$WIDGET" != "$LASTWIDGET" ]] && complist ...

where "..." gets filled in appropriately for whatever other completion
is in progress.  Right?

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



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