I've searched high and low and tried several other solutions for this but can't seem to find an answer.
In MacOS, I have iTerm2 set to use zsh as my main terminal, with powerelevel10k theme, and oh-my-zsh managing it, not sure if this info will help, but wanted to include it.
I'm trying to set environmental variables, and it keeps giving me the following:
> export $FOO=bar
zsh: bar not found
It doesn't matter what the variable or the value is, it continues to tell me <variable> not found
As far as I can tell, I may have to modify my .zshrc
file, but I'm lost at this point because I've tried several different solutions here on StackOverflow, and none of them have fixed it. Any ideas on how I can set env variables?