bash - Propagate ENV variables to ZSH -


i'm calling script using:

zsh -c 'myscript' -- $args 

where myscript exists in folder added path .zshrc. when run command zsh can't find myscript, since path reset default.

when run similar command using bash:

bash -c 'myscript' -- $args 

the myscript found, i'm assuming since path passed through bash.

is there way enforce path, , other env vars, propagate down zsh?


Comments

Popular posts from this blog

SQL php on different pages to Insert (mysqli) -

php - How can an email be returned from Stripe Checkout? -

sql - Partition elimination in Greenplum -