[实践OK]macbook出现Git satus/git pull 出现找不到vim文件的问题。

jackxiang 2019-1-3 17:25 | |
$git pull
hint: Waiting for your editor to close the file... fatal: cannot run /usr/local/bin/vim: No such file or directory
error: unable to start editor '/usr/local/bin/vim'
Not committing merge; use 'git commit' to complete the merge.


I tried to upgrade from the default vim install on Mac OS X (vim 7.2) to the one used by MacVim (vim 7.3) by creating a symlink:

alias vim=/usr/bin/vim

来自:https://apple.stackexchange.com/questions/14299/replaced-usr-bin-vim-now-i-get-error-messages

作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/10022/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!


最后编辑: jackxiang 编辑于2019-1-4 12:04
评论列表
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]