From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11839 invoked from network); 7 May 2002 18:28:20 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 May 2002 18:28:20 -0000 Received: (qmail 26258 invoked by alias); 7 May 2002 18:27:53 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4941 Received: (qmail 26126 invoked from network); 7 May 2002 18:27:42 -0000 Date: Tue, 7 May 2002 11:27:40 -0700 From: william@hq.newdream.net (Will Yardley) To: zsh-users@sunsite.dk Subject: Re: Options are not set Message-ID: <20020507182740.GM6634@hq.newdream.net> Mail-Followup-To: zsh-users@sunsite.dk References: <20020507172840.GH2512@acp1130.ac1.dsh.de> <20020507182541.GA566@acp1130.ac1.dsh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020507182541.GA566@acp1130.ac1.dsh.de> Organization: New Dream Network User-Agent: Mutt/1.5.1i Thorsten Haude wrote: > >That's because there's a built-in command named "source", so zsh assumes > >that's what you mean. > Duh! I never use source, I always try to call source/nedit, and I > seldom try to call anything else this way. > Yes, that works alright too for any other directories. if you really want to use that feature for the directory 'source' and don't use the 'source' builtin ever, you could probably put: disable source in your .zshrc aura% disable source aura% type source source not found aura% mkdir source aura% source aura% pwd /home/william/source aura% enable source aura% type source source is a shell builtin if you really wanted to get fancy, you could probably write a small function to call the builtin source but only if an argument is given. -- Will Yardley input: william < @ hq . newdream . net . >