iterm打开提示:argpath=/usr/local/bin/zsh error=No such file or directory
terminal打开提示:-bash:fortune:command not find
terminal打开提示:-bash:fortune:command not find
|
47jm9ozpJun 8, 2014
1
先想办法进恢复模式,chsh到/bin/bash
然后重装homebrew和zsh |
|
2
或者新建个用户然后
sudo chsh -s /bin/bash 原用户名 这样试试 |
|
47jm9ozpJun 8, 2014
5
@zeroday 不知道你还在哪里改了设置……备份下~下面的.bashrc或者.bash_profile然后清空这两个文件吧
iterm是没找到zsh,bash是没找到fortune,实在不行换个账户装好homebrew,把一大堆东西都重装一下 |
|
ptyforkJun 9, 2014
7
fortune是干嘛的?
|
|
NLightJun 11, 2014 via iPhone
10
直接复制/bin/zsh 到/usr/locol/bin/zsh, 然后使用brew重装zsh就可以了
|