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

Re: how to execute zle widget during zsh-init?



Hi Bart,

but zle-line-init() is called every time zle starts, i.e. before a prompt
is shown.  Isn't that overkill? :-)

> zle-line-init
>  Executed every time the line editor is started to read a new line of input

Besides that doubt I can't get it to work.  I put the function
zle-line-init into my .zshrc, but where do I put the definition of the
function grow-killring?  zsh complains:
 "No such widget `grow-killring'"

Thanks again,
 Andy.

-- 
                              o      _     _         _
  ------- __o       __o      /\_   _ \\o  (_)\__/o  (_)          -o)
  ----- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/       /\\
  ---- (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_    _\_v
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 "In a cat's eye, all things belong to cats."  --English proverb



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