MacOS ZSH终端$主机显示.ht.home
一段时间以来,我一直在修补我的.zshrc
文件,以更改命令提示符的外观,还使其显示Git的某些状态。但是在我做了一些更改之后 当我输入echo $ host
查看笔记本电脑的主机名时, /a>出现。 (纳尼亚正是我称为主机名的)它用来显示narnia.local,但现在显示narnia.ht.home。有人可以解释是什么原因导致这种变化,以及我是否应该担心这一点?
I've been tinkering with my .zshrc
file for a while to change how the command prompt looks and also make it display certain statuses for git. But after I made some changes
when I type in echo $HOST
to see the hostname of my laptop, this shows up. (narnia is just what I named the hostname) It used to show narnia.local, but now it shows narnia.ht.home. Could someone explain what caused this to change, and whether or not it's something I should worry about?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论