From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id acaea1a2 for ; Wed, 20 Feb 2019 03:28:24 +0000 (UTC) Received: (qmail 27396 invoked by alias); 20 Feb 2019 03:28:10 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44071 Received: (qmail 23983 invoked by uid 1010); 20 Feb 2019 03:28:10 -0000 X-Qmail-Scanner-Diagnostics: from load-balancer.sfu.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.100.2/25112. spamassassin: 3.4.2. Clear:RC:0(142.58.101.11):SA:0(-4.2/5.0):. Processed in 3.439071 secs); 20 Feb 2019 03:28:10 -0000 X-Envelope-From: msb2@sfu.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at sfu.ca designates 142.58.101.11 as permitted sender) User-agent: mu4e 1.0; emacs 26.1 From: Marie-Helene Burle To: zsh-workers@zsh.org Subject: Bug(?): unable to setopt pathscript Date: Tue, 19 Feb 2019 19:27:32 -0800 Message-ID: <878syb5ecb.fsf@sfu.ca> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-User: msb2 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