【发布时间】:2016-02-11 08:21:37
【问题描述】:
我试图让Sublime 编辑器在this guide 之后从终端工作,这样做我修改了.bash_profile 文件,显然是我的PATH。当我这样做时,我被定位在终端的某个随机文件夹中,它是/Users/apple/Desktop/RailsCode/readit/,现在如果我想运行命令open ~./bash_profile,它会说:The file /Users/apple/Desktop/RailsCode/readit/~./bash_profile does not exist. 它以前工作过,在我看来我搞砸了默认路径。如何解决?
【问题讨论】:
-
echo $PATH的输出是什么? -
你可能混淆了
~./bash_profile(一个名为“bash_profile”的目录,它不存在)和~/.bash_profile(你的根文件夹中的一个文件)?
标签: macos bash shell unix path