Fish Shell 导致 Vim Bundle PluginInstall 报错

更新日期: 2019-08-02 阅读次数: 5510 字数: 170 分类: Vim

环境

  • VIM 8
  • TMUX + Fish Shell

无法安装新的 Bundle 组件

由于要安装 Dart 的 VIM 组件,我在 .vimrc 中添加了配置之后,执行 PluginInstall。

所有组件在安装时都会报错

Error detected while processing function vundle#installer#new[24]..<SNR>66_process[11]..vundle#installer#run[8]..vundle#installer#install[12]..<SNR>66_sync[6]..<SNR>66_make_sync_command[4]..<SNR>66_get_current_origin_url[3]..<SNR>66_system:
line    1:
E484: Can't open file /tmp/vcQxCoS/3
Error detected while processing function vundle#installer#new[24]..<SNR>66_process[11]..vundle#installer#run[8]..vundle#installer#install[12]..<SNR>66_sync:
line    6:
E714: List required
Error detected while processing function vundle#installer#new[24]..<SNR>66_process:
line   13:
E121: Undefined variable: s:last_status
E15: Invalid expression: 'error' == s:last_status
line   17:
E121: Undefined variable: s:last_status
E15: Invalid expression: 'updated' == s:last_status && empty(msg)

Google 了一下,发现是 Fish Shell 造成的问题。

退出 Tmux, 回到没有配置 Fish Shell 的原始 console 环境,再次打开 VIM, 执行 PluginInstall 就能正常安装了。

参考 https://codeday.me/bug/20190501/1024277.html

tags: fish shell

关于作者 🌱

我是来自山东烟台的一名开发者,有敢兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式