每次打开一个新的终端窗口时,我都会看到以下内容.
-bash: /Users/tim/.profile: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我不知道为什么会发生这种情况或在哪里寻找解决方案; 我的个人资料/Users/tim/.bash_profile
不在/Users/tim/.profile
有关如何排除故障的任何想法?
noc*_*abt 39
这也发生在我身上,我发现在它的顶部.bash_profile
有:
source ~/.profile
Run Code Online (Sandbox Code Playgroud)
我的理解是,在MacOS/OS X .bash_profile
上优先考虑,.profile
因此不需要后一个文件.
因此,我只需source ~/.profile
从文件顶部删除即可.
希望有所帮助.
编辑:原创海报评论说他刚刚创建了一个空白.profile
来解决这个问题.
归档时间: |
|
查看次数: |
13980 次 |
最近记录: |