终端显示启动环境变量

发布于 2025-01-26 05:47:20 字数 199 浏览 5 评论 0原文

从今天开始,我的终端显示了启动上的各种变量。

img src =“ https://i.gyazo.com/ef75315b7237d01507cb8a1b8a1b8a1b8d7a2c38.png” alt =“ text”>

这是我的〜/.zshrc file: 5

< 。

感谢您的帮助!

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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别念他 2025-02-02 05:47:20

导出称为命令,并显示所有导出的VAR。


您应该制作

export
JAVA_HOME=...

一行,因此导出没有没有ARGS来调用:

export JAVA_HOME= ...

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= ...
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文