Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug(?): unable to setopt pathscript
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author