Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim Vundle's PluginInstall conflict with fish in Archlinux

In Arch, when I use Vim Vundle's PluginInstall/PluginUpdate, it will show many mistake message

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

I have to type Enter repeatly so that it can process next Plugin, and while processing every plugin, it will show the same mistake message:

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

When I set fish shell as default shell , it will conflict. when I switch back to zsh, it will work normally. How can I do?

like image 267
tian tong Avatar asked Sep 09 '15 13:09

tian tong


1 Answers

Either update to at least Vim 7.4.276, which adds support for fish, or set the shell that Vim uses to one that your version of Vim supports (like zsh):

set shell=/usr/bin/zsh
like image 158
jamessan Avatar answered Oct 28 '22 20:10

jamessan