【发布时间】:2019-05-15 15:25:58
【问题描述】:
$PATH/.iterm2_shell_integration.bash:type:257: 错误选项: -t 。如何解决该错误?我用 zsh。
我尝试重新安装 zsh 并在第 257 行将其注释掉,但它不起作用。
代码是从 zsh 内置的
【问题讨论】:
$PATH/.iterm2_shell_integration.bash:type:257: 错误选项: -t 。如何解决该错误?我用 zsh。
我尝试重新安装 zsh 并在第 257 行将其注释掉,但它不起作用。
代码是从 zsh 内置的
【问题讨论】:
文件名.iterm2_shell_integration.bash 似乎表明该文件是为bash 准备的。
如果您正在采购此文件,请查看您的~/.zshrc,我想它不应该。
我认为you can download the correct file for zsh here(点击 zsh)并按照网站上的说明进行获取。
【讨论】:
bash 脚本转换为 zsh。