Home > Back-end >  Terminal showing environment variables on startup
Terminal showing environment variables on startup

Time:05-04

Since today my terminal shows all kind of variables on startup.

Text

This is my ~/.zshrc file:

Text

I don't think something bad will come of it but I'm just wondering how this happened and how I can turn it back off.

Thankyou for your help!

CodePudding user response:

export is called as a command, and shows all the exported vars.


You should make the

export
JAVA_HOME=...

A single line, so export isn't called without args:

export JAVA_HOME= ...
  • Related