From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 591 invoked from network); 14 Oct 1998 21:16:14 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Oct 1998 21:16:14 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id RAA10951; Wed, 14 Oct 1998 17:07:48 -0400 (EDT) Resent-Date: Wed, 14 Oct 1998 17:07:34 -0400 (EDT) Date: Wed, 14 Oct 1998 16:11:11 -0500 From: Dan Nelson To: ZSH Users Subject: Re: "no such file" errors while sourcing config files Message-ID: <19981014161111.A13716@emsphone.com> References: <19981014220321.A479@cs.uni-magdeburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.3i In-Reply-To: <19981014220321.A479@cs.uni-magdeburg.de>; from "Roland Jesse" on Wed Oct 14 22:03:21 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Resent-Message-ID: <"ft5jI2.0.Wg2.LAH9s"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1866 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu In the last episode (Oct 14), Roland Jesse said: > Hello, > > does anybody in the list have an idea why the following error occurs? > > j.wh4-422 ~ % ls -l .zshrc.private > -rw-r--r-- 1 j user 217 14 Okt 21:58 .zshrc.private > j.wh4-422 ~ % . .zshrc.private > .: no such file or directory: .zshrc.private > j.wh4-422 ~ % The manpage reads: . file [ arg ... ] Read commands from file and execute them in the current shell environment. If file does not con- tain a slash, or if PATH_DIRS is set, the shell looks in the components of path to find the direc- tory containing file. Files in the current direc- tory are not read unless "." appears somewhere in path. So if you want to run a script in your current directory, run it like . ./.zshrc.private -Dan Nelson dnelson@emsphone.com