command line - Using ZSH for storing environment variable -
it suggested me utilize zsh storing environment variables project i'm working on. when set them export var_name='secret_key'
on command line works, not persist beyond shell session.
reading around sounds should adding them in .zshenv
file. file not appear exist me. not sure how create file in $path. contrary approach told use .zshrc
file. though when add env vars in there export var_name='secret_key'
not picked application when ran syntax command line.
i'm kinda lost in best approach this, , how done.
couple resources i've been reading though:
closed down , walked away day. came morning , worked. c'est la vie. not sure killed server few times trying figure out, working now. still not sure if saving env vars in .zshrc
file best practice. or if location more ideal.
Comments
Post a Comment