当我跑
$git pull
我得到:
Vim: Caught deadly signal ILL
Vim: Finished.
error: vi died of signal 4
error: There was a problem with the editor 'vi'.
Not committing merge; use 'git commit' to complete the merge.
当我跑
$git rebase -i HEAD~10
我得到:
Vim: Caught deadly signal ILL
Vim: Finished.
/opt/boxen/homebrew/Cellar/git/1.8.0-boxen1/libexec/git-core/git-rebase--interactive: line 212: 40705 Illegal instruction: 4 vi "$@"
Could not execute editor
我曾经在运行时遇到错误:
$vi
但是能够通过将这些行添加到我的 .bashrc 来绕过它们:
alias vi='/opt/boxen/homebrew/Cellar/vim/7.3.843/bin/vim'
alias vim='/opt/boxen/homebrew/Cellar/vim/7.3.843/bin/vim'
这正在扼杀我的工作流程,关于修复它的任何想法?