From: Dan Nelson <dnelson@emsphone.com>
To: ZSH Users <zsh-users@math.gatech.edu>
Subject: Re: "no such file" errors while sourcing config files
Date: Wed, 14 Oct 1998 16:11:11 -0500 [thread overview]
Message-ID: <19981014161111.A13716@emsphone.com> (raw)
In-Reply-To: <19981014220321.A479@cs.uni-magdeburg.de>; from "Roland Jesse" on Wed Oct 14 22:03:21 GMT 1998
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
prev parent reply other threads:[~1998-10-14 21:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-14 20:03 Roland Jesse
1998-10-14 21:06 ` Gabor Ribarik
1998-10-14 21:11 ` Dan Nelson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19981014161111.A13716@emsphone.com \
--to=dnelson@emsphone.com \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).