From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29714 invoked from network); 11 Mar 2004 13:36:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Mar 2004 13:36:07 -0000 Received: (qmail 8273 invoked by alias); 11 Mar 2004 13:35:33 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7140 Received: (qmail 8253 invoked from network); 11 Mar 2004 13:35:32 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 11 Mar 2004 13:35:32 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [140.78.161.123] by sunsite.dk (MessageWall 1.0.8) with SMTP; 11 Mar 2004 13:35:32 -0000 Received: from nanni.riic.uni-linz.ac.at.riic.at (nanni.riic.uni-linz.ac.at [140.78.161.79]) by proxy.riic.at (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i2BDZSmJ028960 for ; Thu, 11 Mar 2004 14:35:28 +0100 From: =?iso-8859-1?q?Stefan_Reich=F6r?= To: zsh-users@sunsite.dk Subject: Re: cd completion and CDABLE_VARS In-Reply-To: <14646.1079008097@csr.com> (Peter Stephenson's message of "Thu, 11 Mar 2004 12:28:17 +0000") References: <14646.1079008097@csr.com> Date: Thu, 11 Mar 2004 14:35:03 +0100 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/) Hi Peter! Im rather new to the zsh. But I want to learn more. > Go to the point where you want completion to be performed and type ^xh. > You should get something like: > > tags in context :completion::complete:cd:: > local-directories path-directories named-directories (_alternative _cd) > users named-directories directory-stack (_tilde _alternative _cd) > users (_users _tilde _alternative _cd) When I type ^xh I get the following: tags in context :completion::complete:cd:: local-directories (_alternative _cd) How do you get the other entries? > One extra tip is that there is a widget _next_tags which you can use to > switch to the next set of tags even if the first set isn't empty. It > switches round in a circle. I use: > > bindkey "^X^N" _next_tags When I do this, I get a list of all subdirectories, no matter if I typed already the beginning of a directory name. So I am not sure, what this command does. Another related question: I want to "bookmark" some directories. e.g.: ~/project1/subdir/wiki ~/data/txt/info1 ~/scripts/python ... I want to type only a substring of the target directory in a cd command (something like ido in emacs) e.g.: cd ki changes to ~/project1/subdir/wiki Is something like this possible with zsh? Stefan.