0

My vim setup apparently has broken out of nothing. It now spills errors for every single plugin I have configured. This started happening after I have changed some appearance settings, some syntastic features (both of which I don't think are the cause) and changed my shell to fish (this MAYBE is the cause).

Using the directive set shell=/usr/bin/fish or set shell=fish does not change anything, it still fails, for which I tried after reading this question.

The errors happen for both :BundleInstall and :BundleUpdate. My full vimrc file is available here if there is need to read it, it's not long.

ranieri
  • 2,030
  • 2
  • 21
  • 39

2 Answers2

4

Yes, setting your shell to fish is likely to be the root of your problem. The fish shell doesn't support the standard UNIX syntax for file redirections, which breaks Vim's system(). Just set Vim's shell to sh:

set shell=/bin/sh

You can't use the interactive features of fish from Vim anyway.

lcd047
  • 5,731
  • 2
  • 28
  • 38
1

A while back I wrote up some docs for this on the Vundle wiki that you may find useful. In short, you can either:

  1. Run: env SHELL=(which sh) vim +BundleInstall! +BundleClean +qall
  2. Add set shell=sh to your .vimrc

As an aside, my Tackle project has an Up plugin that includes a handy way to update your vim plugins via Vundle.

Justin Mayer
  • 2,063
  • 11
  • 15