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

Re: z-sy-h and z-asug: zle-line-pre-redraw, POSTDISPLAY, coexistence (was: Re: emulate bash key bindings)



On Sun, 12 Jan 2020 at 03:42, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> On Sat, 11 Jan 2020 at 15:30, Roman Perepelitsa
> <roman.perepelitsa@xxxxxxxxx> wrote:
> > Thanks, this is the hint I needed . $token at zsd-detect.main:325 is
> > always a word in the command position, right?
>
> Yes. As I've added some commits recently I'll link the line of code so
> that the reference will be safe:
>
> https://github.com/zdharma/zshelldoc/blob/ccba867/src/zsd-detect.main#L318

PS. The $fun_stack_depths[-1] -le 0 condition isn't needed from one
point of view – it verifies if the call is being done in the foremost
function and not in a nested function.

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org



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