Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Terminal showing environment variables on startup

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!

like image 597
Harm Jan van Kammen Avatar asked Jun 04 '26 00:06

Harm Jan van Kammen


1 Answers

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= ...
like image 103
0stone0 Avatar answered Jun 08 '26 00:06

0stone0



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!