zsh-users
 help / color / mirror / code / Atom feed
From: william@hq.newdream.net (Will Yardley)
To: zsh-users@sunsite.dk
Subject: Re: Options are not set
Date: Tue, 7 May 2002 11:27:40 -0700	[thread overview]
Message-ID: <20020507182740.GM6634@hq.newdream.net> (raw)
In-Reply-To: <20020507182541.GA566@acp1130.ac1.dsh.de>

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 . >


  reply	other threads:[~2002-05-07 18:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07 16:37 Thorsten Haude
2002-05-07 16:37 ` Will Yardley
2002-05-07 16:51 ` Thorsten Haude
2002-05-07 17:00 ` Roman Neuhauser
2002-05-07 17:28   ` Thorsten Haude
2002-05-07 17:28     ` Bart Schaefer
2002-05-07 18:25       ` Thorsten Haude
2002-05-07 18:27         ` Will Yardley [this message]
2002-05-07 18:28       ` Thorsten Haude

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=20020507182740.GM6634@hq.newdream.net \
    --to=william@hq.newdream.net \
    --cc=zsh-users@sunsite.dk \
    /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).