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

how to execute zle widget during zsh-init?



Back in 2003 Peter Stephenson kindly added the possibility to increase the
size of the zle kill-ring.  As suggested I wrote a ZLE widget that makes
use of this feature and sets the size to 30:

-------------
# increase the size of zle kill ring to 30

emulate -L zsh

: ${NUMERIC:=30}
while (( NUMERIC-- )); do killring+=(''); done
-------------

But now I can't find a practial way to "execute" it every time I start y
new shell because it has to be done from inside zle. :-(

Does anyone have an idea how this can be done?
Thanks!
 Andy.

-- 
                              o      _     _         _
  ------- __o       __o      /\_   _ \\o  (_)\__/o  (_)          -o)
  ----- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/       /\\
  ---- (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_    _\_v
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 If people from Poland are called Poles,
 why aren't people from Holland called Holes?  (George Carlin, US comedian)



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