zsh-workers
 help / color / mirror / code / Atom feed
From: Marie-Helene Burle <msb2@sfu.ca>
To: zsh-workers@zsh.org
Subject: Bug(?): unable to setopt pathscript
Date: Tue, 19 Feb 2019 19:27:32 -0800	[thread overview]
Message-ID: <878syb5ecb.fsf@sfu.ca> (raw)

Hello,

Noob warning: I think that there might be a bug, but the mistake may be on my end as I am fairly new to zsh.

I seem unable to set the option PATH_SCRIPT.

In my ~/.zshrc file, I have "setopt pathscript". It seems to be taken into account: if I run "setopt" in the cli, I get a list of options including "pathscript".

However, if I run "zsh script.sh", I get "zsh: can't open input file: script.sh". (My script is in $PATH).

Now, if I run "zsh -o pathscript script.sh", it works...

So, even though "pathscript" gets listed by "setopt", it doesn't seem to take effect...

I rebooted with no change.

Am I doing something wrong? Or is there something going on??

Thank you!

Sincerely,

-----
Marie-Helene Burle (Marie)

Software Carpentry & Data Carpentry Instructor
RStudio Community Sustainer
Scientific Programming Study Group Admin
-----
http://www.sfu.ca/content/sfu/biology/people/profiles/msb2.html
https://marie-helene-burle.netlify.com/
https://github.com/prosoitos
https://twitter.com/MHBurle



             reply	other threads:[~2019-02-20  3:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20  3:27 Marie-Helene Burle [this message]
2019-02-20  3:35 ` Eric Cook

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=878syb5ecb.fsf@sfu.ca \
    --to=msb2@sfu.ca \
    --cc=zsh-workers@zsh.org \
    /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).