I am using Kali linux:
lsb_release -a " Distributor ID: Kali Description: Kali GNU/Linux Rolling Release: 2021.2 Codename: kali-rolling "
i set env variable
it work but when I close the tab, it does not recognize anymore. I am setting env variable for my django project. When I set on "pycharm" terminal, it sets it.
But when I close pyhcarm,
printenv DB_USER does not show any value.
I set it on terminal using one of the tabs. Again, it sets it but when I close the that specific terminal, it does not recognize that env value anymore.
When I checked zshenv file:
I have this on this file
if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]] then export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" fi
the only env variable zsh has PATH. but when i run
env command i see a big list of env variables but they are not in "zshenv".