tia*_*ong 5 vim zsh archlinux fish vundle
在Arch中,当我使用Vim Vundle的PluginInstall/PluginUpdate时,它会显示许多错误消息
Processing 'tpope/vim-fugitive'
Error detected while processing function vundle#installer#new..<SNR>146_process..vundle#installer#run..vundle#installer#ins
tall..<SNR>146_sync..<SNR>146_make_sync_command..<SNR>146_get_current_origin_url..<SNR>146_system:
line 1:
E484: Can't open file /tmp/v8J8IUB/7
Error detected while processing function vundle#installer#new..<SNR>146_process..vundle#installer#run..vundle#installer#ins
tall..<SNR>146_sync:
line 6:
E714: List required
Error detected while processing function vundle#installer#new..<SNR>146_process:
line 13:
E121: Undefined variable: s:last_status
E15: Invalid expression: 'error' == s:last_status
line 17:
E121: Undefined variable: s:last_status
-- More --
Run Code Online (Sandbox Code Playgroud)
我必须Enter
重复键入以便process
下一个插件,并在处理每个插件时,它将显示相同的错误消息:
Processing 'sjl/gundo.vim'
Error detected while processing function vundle#installer#new..<SNR>146_process..vundle#installer#run..vundle#installer#ins
tall..<SNR>146_sync..<SNR>146_make_sync_command..<SNR>146_get_current_origin_url..<SNR>146_system:
line 1:
E484: Can't open file /tmp/v8J8IUB/12
Error detected while processing function vundle#installer#new..<SNR>146_process..vundle#installer#run..vundle#installer#ins
tall..<SNR>146_sync:
line 6:
E714: List required
Error detected while processing function vundle#installer#new..<SNR>146_process:
line 13:
E121: Undefined variable: s:last_status
E15: Invalid expression: 'error' == s:last_status
line 17:
E121: Undefined variable: s:last_status
Run Code Online (Sandbox Code Playgroud)
当我将fish
shell 设置为默认shell时,它将发生冲突.当我切换回来时zsh
,它会正常工作.我能怎么做?
jam*_*san 10
要么至少更新到Vim 7.4.276,它会添加对fish的支持,或者将Vim使用的shell设置为你的Vim支持的shell(比如zsh):
set shell=/usr/bin/zsh
Run Code Online (Sandbox Code Playgroud)