From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8631 invoked from network); 16 Aug 2004 21:49:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Aug 2004 21:49:45 -0000 Received: (qmail 16919 invoked from network); 16 Aug 2004 21:49:40 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Aug 2004 21:49:40 -0000 Received: (qmail 6154 invoked by alias); 16 Aug 2004 21:48:53 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7868 Received: (qmail 6126 invoked from network); 16 Aug 2004 21:48:52 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 16 Aug 2004 21:48:52 -0000 Received: (qmail 15040 invoked from network); 16 Aug 2004 21:46:54 -0000 Received: from lyta.akte.de (217.160.134.217) by a.mx.sunsite.dk with SMTP; 16 Aug 2004 21:46:52 -0000 Received: (root@lyta.akte.de) by lyta.akte.de id ; Mon, 16 Aug 2004 23:46:41 +0200 KRecCount: 1 KInfo: virscan ok KInfo: NoRelay, NoSpam Received: from condor.int.spiegl.de (p54801C3D.dip.t-dialin.net [84.128.28.61]) by lyta.akte.de via kasmail (2.9) id ; Mon, 16 Aug 2004 21:46:28 GMT Received: from condor.int.spiegl.de (spiegl@localhost [127.0.0.1]) by condor.int.spiegl.de (8.12.11.Beta0/8.12.11.Beta0/Debian-1) with ESMTP id i7GLkRr3000347 for ; Mon, 16 Aug 2004 23:46:27 +0200 Received: (from spiegl@localhost) by condor.int.spiegl.de (8.12.11.Beta0/8.12.11.Beta0/Debian-1) id i7GLkRKW000345 for zsh-users@sunsite.dk; Mon, 16 Aug 2004 23:46:27 +0200 X-Authentication-Warning: condor.int.spiegl.de: spiegl set sender to zsh.Andy@spiegl.de using -f Date: Mon, 16 Aug 2004 23:46:27 +0200 From: Andy Spiegl To: ZSH User List Subject: how to execute zle widget during zsh-init? Message-ID: <20040816214627.GA32476@spiegl.de> Mail-Followup-To: ZSH User List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-GPG-Keys: mail -s "send pgp" auto@spiegl.de X-Accepted-File-Formats: ASCII .rtf .ps .pdf - *NO* MS Office files please. X-why-you-shouldnt-use-MS-LookOut: http://www.jensbenecke.de/l-oe-en.php X-warum-man-MS-Outlook-vermeiden-sollte: http://www.jensbenecke.de/l-oe-de.php X-Message-Flag: LookOut! You are using an insecure mail reader which can be used to spread viruses. User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=6.0 tests=BAYES_00 autolearn=no version=2.63 X-Spam-Hits: -4.9 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)