From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14554 invoked from network); 21 Feb 2005 14:22:34 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Feb 2005 14:22:34 -0000 Received: (qmail 82662 invoked from network); 21 Feb 2005 14:22:25 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Feb 2005 14:22:25 -0000 Received: (qmail 15489 invoked by alias); 21 Feb 2005 14:21:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8532 Received: (qmail 15478 invoked from network); 21 Feb 2005 14:21:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Feb 2005 14:21:56 -0000 Received: (qmail 80116 invoked from network); 21 Feb 2005 14:21:56 -0000 Received: from vinc17.net4.nerim.net (HELO ay.vinc17.org) (62.212.121.106) by a.mx.sunsite.dk with SMTP; 21 Feb 2005 14:21:44 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.34) id 1D3ERR-0006AE-C3; Mon, 21 Feb 2005 15:21:42 +0100 Date: Mon, 21 Feb 2005 15:21:41 +0100 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: Named directories Message-ID: <20050221142140.GM25142@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <2e24629722633f291ea82664e14cbc5d@ee.oulu.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2e24629722633f291ea82664e14cbc5d@ee.oulu.fi> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.8-vl-20050218i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.5 On 2005-02-21 16:17:13 +0200, Mika Seppänen wrote: > If my homedir is /home/foo and I have named directory: > > work=/home/foo/bar > > Then if I switch to that dir (cd work), %~ expands to ~/bar. Is there > any way to make it expand to ~work? I have so such problem here: ay:~> echo ~ ~tmp /home/lefevre /home/lefevre/tmp ay:~> cd tmp ay:~tmp> -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / SPACES project at LORIA