I'm using Tilix with ZSH and Oh-My-ZSH. I'm trying to start a saved session with yarn running a command on startup. However, the $PATH variable does not contain NPM when the session is initialized and thus it cannot run yarn. To work around this, I have to manually source my .zshrc everytime I launch a new session. Example:
I'm using Tilix with ZSH and Oh-My-ZSH. I'm trying to start a saved session with yarn running a command on startup. However, the $PATH variable does not contain NPM when the session is initialized and thus it cannot run yarn. To work around this, I have to manually source my
.zshrc
everytime I launch a new session. Example:tilix -s session.json
session.json:
zsh-wrapper.sh:
Is there a better way to go about this?