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

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -