Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
how to execute zle widget during zsh-init?
- X-seq: zsh-users 7868
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: how to execute zle widget during zsh-init?
- Date: Mon, 16 Aug 2004 23:46:27 +0200
- Kinfo: virscan ok
- Kinfo: NoRelay, NoSpam
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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