zsh-users
 help / color / mirror / code / Atom feed
* zsh no longer inherit my $PATH.
@ 2013-07-15 20:32 Piotr Karbowski
       [not found] ` <BA95BFDC-5F12-4582-B71B-9ABCD8C7B6B3@gmail.com>
  2013-07-15 21:11 ` Lawrence Velázquez
  0 siblings, 2 replies; 5+ messages in thread
From: Piotr Karbowski @ 2013-07-15 20:32 UTC (permalink / raw)
  To: zsh-users

For some reason zsh scripts no longer preserve $PATH that I modify in my 
.zshrc.

if I do: echo -e '#!/bin/zsh \n echo $PATH' >test.zsh && chmod +x 
test.zsh && ./test.zsh the $PATH is altered, it wasnt as-is

moving PATH altering part to .zshenv does 'fix' it but I would like to 
know how can I restore old behivor.

If I run script with /bin/sh shebang, it will preserve my $PATH and this 
is exacly what I want, but with zsh, which is essential.

-- Piotr.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-15 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 20:32 zsh no longer inherit my $PATH Piotr Karbowski
     [not found] ` <BA95BFDC-5F12-4582-B71B-9ABCD8C7B6B3@gmail.com>
2013-07-15 20:47   ` Piotr Karbowski
2013-07-15 20:58     ` Piotr Karbowski
2013-07-15 22:23       ` Bart Schaefer
2013-07-15 21:11 ` Lawrence Velázquez

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