Syntastic: Shell warning when using fish-shell

Created on 1 Oct 2013  路  10Comments  路  Source: vim-syntastic/syntastic

syntastic: error: your shell /usr/local/bin/fish doesn't use traditional UNIX syntax for redirections

What does this error mean? Is there some way to dissable it?

Most helpful comment

It means you can't use the fish shell with syntastic. :) You don't have to change your login shell, just the shell used by Vim. Bash, Zhs, and Ksh are popular choices that work fine. Add something like this to your vimrc:

set shell=bash

All 10 comments

It means you can't use the fish shell with syntastic. :) You don't have to change your login shell, just the shell used by Vim. Bash, Zhs, and Ksh are popular choices that work fine. Add something like this to your vimrc:

set shell=bash

Thanks a million @lcd047 :star: :star: :star: :star: :star: :star:

Make sure to leave out spaces/quotes. For example, for bash:

set shell=/bin/bash

Thanks for this thread. I was getting quite frustrated by all my vim errors.

Awesome. It fixed the problem : )

it might be worth noting if you mess with shellpipe or any other shell related settings in vim that impair it's ability to use the 'system()' function, you will get this error as well

@osirisgothra: Sure, but if you mess with shellpipe and the like you're probably aware you did _something_ to Vim. The fish shell is inflicted upon unsuspecting users by the _UI experts_ of some popular Linux distributions, presumably in order to save them from the dangers of using the shells for grown ups. :)

@lcd047 Some grown ups prefer the sane handling of variable escaping that is non-existent in Bourne derived shells.

It happens if you use shellcmdflag too:

set shell=/bin/bash
set shellcmdflag=-i

syntastic: error: your shell /bin/bash doesn't use traditional UNIX syntax for redirections

Edit: only happens for me in conjunction with sudo. I'll investigate further.

I'll investigate further.

Please don't bother reporting problems unless you can reproduce them with the default shell-related flags.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mollerhoj picture mollerhoj  路  5Comments

ijanos picture ijanos  路  7Comments

symbolix picture symbolix  路  8Comments

stevepond picture stevepond  路  5Comments

PROgram52bc picture PROgram52bc  路  6Comments