From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2798 invoked from network); 5 Dec 2005 06:35:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Dec 2005 06:35:55 -0000 Received: (qmail 77123 invoked from network); 5 Dec 2005 06:35:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Dec 2005 06:35:49 -0000 Received: (qmail 26155 invoked by alias); 5 Dec 2005 06:35:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9758 Received: (qmail 26145 invoked from network); 5 Dec 2005 06:35:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Dec 2005 06:35:39 -0000 Received: (qmail 75617 invoked from network); 5 Dec 2005 06:35:39 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 5 Dec 2005 06:35:37 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IR000M60IBB8I8A@vms048.mailsrvcs.net> for zsh-users@sunsite.dk; Mon, 05 Dec 2005 00:35:36 -0600 (CST) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id jB56ZYke022230; Sun, 04 Dec 2005 22:35:34 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id jB56ZXh6022229; Sun, 04 Dec 2005 22:35:33 -0800 Date: Mon, 05 Dec 2005 06:35:32 +0000 From: Bart Schaefer Subject: Re: history-search + a few new user question In-reply-to: <20051204162658.GA17541@alnagon.localnet.cz> To: karpi , zsh-users@sunsite.dk Message-id: <1051205063532.ZM22228@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20051204162658.GA17541@alnagon.localnet.cz> Comments: In reply to karpi "history-search + a few new user question" (Dec 4, 5:26pm) On Dec 4, 5:26pm, karpi wrote: } } Hello, Ive just try switch from bash. You might want to look at autoload -U select-word-style select-word-style bash and bashcompinit I believe these are all mentioned in the manual. } 1) At first there was my mostly touched function: } -type some chars, which command begins, and then call completation from } history. Do you want words from the history completed, or entire lines from the history found? The term "completion" usually means individual words, not whole lines. I suspect what you want is history-beginning-search-* as Christian T. already suggested. However, also look for history-search-end in the "ZLE Functions" section of "User Contributions" chapter in the manual. } 2) some way to set "ignorerece" so "rece"? Hmm, must be Czech? However, I see what you're getting at, and the answer is no, there is not in general a way to make zsh behave that way unless the underlying filesystem does so (like in cygwin). } cd downloads } interprets as too } cd DownLoads For specific cases, such as "cd", you can fix it: function cd { emulate -LR zsh setopt extendedglob nonomatch local -a opts zparseopts -D -a opts s L P if [[ $# -eq 2 ]] then builtin cd $opts $1 $2 else builtin cd $opts (#i)$* fi } } 3) Some way to colorize wrong symliks differently from good pointed } symlinks (for example cyan-good/red-bad like gentoo default bash setting)? Look in the manual for "The zsh/complist Module". } 3) when I press Alt-backspace, cursor deletes all path. Is possible it } deletes only part of path limited by "/" See "select-word-style bash" as mentioned above.