Vim/Vundle broken after reverting back to bash from zsh

只谈情不闲聊 提交于 2019-12-10 20:14:54

问题


This is the error message I get when trying to BundleInstall:

Shell can't be executed /bin/zsh
Error while executing "function vundle#installer#new..<SNR>37_process..vundle#installer#run..vundle#installer#install..<SNR>37_sync..<SNR>37_system":
Line    1:
E484: Can't open file /tmp/vfHFBSJ/8
Error while executing "function vundle#installer#new..<SNR>37_process":
Zeile   13:
E121: Undefined variable: g:vundle_last_status
E15: Invalid expression: 'error' == g:vundle_last_status
Zeile   17:
E121: Undefined variable: g:vundle_last_status

I removed everything in the bundle directory and I reinstalled vundle. Still it tries to execute zsh. What is wrong here?


回答1:


I'd guess that 'shell' is still set to use zsh. Check with :verbose set shell? and disable the config / reconfigure to :set shell=/bin/bash in your ~/.vimrc.




回答2:


I uninstalled zsh but in my /etc/passwd it stilled referenced /bin/zsh instead of /bin/bash. So I wasn't even able to log back in to my user account after logging out/rebooting.



来源:https://stackoverflow.com/questions/21404889/vim-vundle-broken-after-reverting-back-to-bash-from-zsh

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