【问题标题】:trying to install .bash_profile on terminal [duplicate]试图在终端上安装 .bash_profile [重复]
【发布时间】:2019-05-02 19:24:44
【问题描述】:

当我打开终端并尝试打开 bash 配置文件并在终端上输入 open -e .bash_profile 时,我很难安装颤振,我收到错误消息,指出我的 .bash_profile 没有退出,请参阅下面,有人可以帮助我,我一直在研究并试图找出问题所在,但似乎没有人有答案。

Last login: Sun Apr 28 00:06:05 on console

Veasnas-MacBook-Pro:~ veasnamam$ open -e .bash_profile

The file /Users/veasnamam/.bash_profile does not exist.

Veasnas-MacBook-Pro:~ veasnamam$

【问题讨论】:

  • 如何在空的或空白的 .bash_profile 上安装颤振?

标签: bash macos flutter


【解决方案1】:

您可以通过touch ~/.bash_profile 轻松创建一个新的空.bash_profile

然后再次运行open -e .bash_profile

在我的情况下(MacBook Pro 也是)文件 .bash_profile 存在,但是是空的(无论如何我正在使用 ZSH)所以不要担心如果你的文件不存在。

【讨论】:

  • 非常感谢它有效!哇,再次感谢,我在 Udemy 上上 dart/flutter 课程,我问过导师这个问题,他似乎不知道,你应该在 Udemy 上教。
猜你喜欢
  • 2020-04-29
  • 1970-01-01
  • 2020-05-31
  • 1970-01-01
  • 2019-12-05
  • 1970-01-01
  • 1970-01-01
  • 2013-12-04
相关资源
最近更新 更多