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
Post a Comment