From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13295 invoked from network); 2 Jul 2003 17:36:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 2 Jul 2003 17:36:41 -0000 Received: (qmail 20997 invoked by alias); 2 Jul 2003 17:36:31 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6343 Received: (qmail 20986 invoked from network); 2 Jul 2003 17:36:31 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 2 Jul 2003 17:36:31 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [199.67.51.101] by sunsite.dk (MessageWall 1.0.8) with SMTP; 2 Jul 2003 17:36:30 -0000 Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h62HaOvZ090711; Wed, 2 Jul 2003 12:36:24 -0500 (CDT) (envelope-from dan) Date: Wed, 2 Jul 2003 12:36:23 -0500 From: Dan Nelson To: Seth Kurtzberg Cc: zsh-users@sunsite.dk Subject: Re: expansion after =?us-ascii?B?PT8=?= Message-ID: <20030702173623.GA59317@dan.emsphone.com> References: <20030702103112.33a2cfe4.seth@cql.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030702103112.33a2cfe4.seth@cql.com> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i In the last episode (Jul 02), Seth Kurtzberg said: > Hello list, > > Is there a configuration parameter or option that enables path > completion after equals, for example, export ENVVAR=/some/path/name? > I've been using zsh for some months now, and this is the only thing > that bash does that I find missing in zsh. But perhaps the behavior > can be turned on in some way? Try two equals signs, one for the assignment, and one for path expansion. dan% PAGER==less dan% echo $PAGER /usr/bin/less dan% It's documented under FILENAME EXPANSION: If a word begins with an unquoted `=' and the EQUALS option is set, the remainder of the word is taken as the name of a command or alias. If a command exists by that name, the word is replaced by the full pathname of the command. If an alias exists by that name, the word is replaced with the text of the alias. I didn't even know bash could do path expansion. -- Dan Nelson dnelson@allantgroup.com