Invalid Argument from .vimrc after changing $HOME directory in WSL

二次信任 提交于 2020-03-17 03:21:49

问题


I am using Ubuntu on Windows Subsystem for Linux on Windows 10. Recently, I changed my default $HOME directory to a folder in my windows system i.e /mnt/c/Users/.../~ by editing in /etc/passwd. After that, I created a new .vimrc file in my new $HOME directory at ~/, with just two settings: set tabstop=4 and set shiftwidth=4. However, I am getting an invalid argument error in bash (this worked perfectly fine prior to changing my home directory): line 2: E474: Invalid argument: shiftwidth =4; line 3: E474: Invalid argument: tabstop =4;

Could anyone tell me why this is happening?

来源:https://stackoverflow.com/questions/60407339/invalid-argument-from-vimrc-after-changing-home-directory-in-wsl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!