'zsh is not setting environment variable
I use oh-my-zsh. In a script I use
export DISPLAY=":1"
On the top a have a shebang, which is linked to bash.
The file has been chmod +x-ed, and is called directly with ./script.
After running the script, the environment variable DISPLAY is empty. Using export in .zshrc works though.
Is there any configs for zsh to change, so that exports are working, or am I doing something wrong?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
