2015-09-09 31 views
4

在凱旋門,當我使用Vim Vundle的PluginInstall/PluginUpdate,它會顯示很多錯誤消息VIM Vundle與魚的Archlinux

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 -- 

PluginInstall衝突我必須鍵入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 

當我設置fish shell作爲默認的shell,就會發生衝突。當我切換回zsh時,它將正常工作。我能怎麼做?

回答

9

要麼更新到至少Vim的7.4.276,這adds support for fish,或設置Vim使用一個你的Vim支持(如zsh中)版本的殼:

set shell=/usr/bin/zsh