This topic created in 4409 days ago, the information mentioned may be changed or developed.
$ vim ~/.profile
然后退出vim
这是iTerm下结果

这是Terminal下结果

2 replies • 2014-10-09 11:56:20 +08:00
 |
|
echo $TERM 看看,应该是下面的 TERM 不对吧。
到 Terminal 的“设置”-“高级”里面,“仿真”-“声明终端为”处,改成“xterm-256color”应该就好了。
|
 |
|
@ dorentus 谢谢! 原来Terminal Emulation是ansi,iTerm是xterm-256color
|