From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29279 invoked from network); 16 Sep 2002 06:08:57 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Sep 2002 06:08:57 -0000 Received: (qmail 1014 invoked by alias); 16 Sep 2002 06:08:40 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5348 Received: (qmail 1000 invoked from network); 16 Sep 2002 06:08:38 -0000 From: "Bart Schaefer" Message-Id: <1020916060809.ZM29173@candle.brasslantern.com> Date: Mon, 16 Sep 2002 06:08:09 +0000 In-Reply-To: <20020915083631.GA334@os> Comments: In reply to GoTaR "Re: History" (Sep 15, 10:36am) References: <20020910173015.GA25731@os> <15742.18195.265640.747347@paullew-ultra.cisco.com> <20020911053928.GA234@os> <1020911092846.ZM2431@candle.brasslantern.com> <20020911114230.GA345@os> <1020914212240.ZM15353@candle.brasslantern.com> <20020915083631.GA334@os> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: History MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 15, 10:36am, GoTaR wrote: } } I've found another solution. After } } alias cd='builtin cd' } ^^ } (without space!) mc calls ' cd `echo "..."`' - it ommits 'builtin' } keyword, so the command is leaded by space That's very interesting. It's not, as far as I can tell, a documented behavior of Midnight Commander, so it's probably an accident. I don't know if this thread is worthy of a zsh FAQ entry or not. If it is, it's probably worth mentioning that the MC_CONTROL_FILE environment variable can be a clue that your rc files need to do different setup (e.g., I wouldn't recommend using themed prompts within mc). However, it's only a clue, because not all compilations of mc export that, and there doesn't appear to be anything mc consistently does to identify itself to the subservient shell. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net