vim Vundle的PluginInstall与Archlinux中的鱼发生冲突
发布时间:2020-12-15 22:15:04 所属栏目:安全 来源:网络整理
导读:在Arch中,当我使用Vim Vundle的PluginInstall / PluginUpdate时,它会显示许多错误消息 Processing 'tpope/vim-fugitive'Error detected while processing function vundle#installer#new..SNR146_process..vundle#installer#run..vundle#installer#install..
在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 -- 我必须重复输入Enter以便它可以处理下一个插件,并且在处理每个插件时,它将显示相同的错误消息: 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时,它会正常工作.我能怎么做? 解决方法
要么至少更新到Vim 7.4.276,要么更新为
adds support for fish,要么将Vim使用的shell设置为你的Vim版本支持的shell(比如zsh):
set shell=/usr/bin/zsh (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |