Created
May 18, 2013 17:30
-
-
Save kenji0x02/5605206 to your computer and use it in GitHub Desktop.
sudo vimでエラー
"sudo vim" and $HOME is not same to /root are detected.Please use sudo.vim plugin instead of sudo command or set always_set_home in sudoers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo vim | |
Error detected while processing /Users/user_name/.vim/bundle/neocomplcache/plugin/neocomplcache.vim: | |
line 37: | |
"sudo vim" and $HOME is not same to /root are detected.Please use sudo.vim plugin instead of sudo command or set always_set_home in sudoers. | |
then, set "always_set_home" in visudo as follows: | |
$ sudo visudo | |
+ Defaults always_set_home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
だいたいデフォルトで設定されてるけど、たまに設定されていないときがー