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 - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -