Hi, Greg. I followed your advice and found a permanent fix: this line in my 
config.fish file:

set SHELL "/bin/bash"

I just had to open a new terminal for changes to come into effect. It is 
working well now.

Thanks!

-- 
Luciano ES
>>
**************************
On Tue, 10 Feb 2015 11:12:00 -0500, Greg Reagle wrote:

> On my system, Ubuntu 14.04 with fish as my default shell, I get the
> same problem.  The problem can be reproduced with a much simpler vim
> command ":r! ls".
> 
> I can work around the problem with the following (fish command)
>     env SHELL=/bin/bash vim
> 
> FYI, on my system, my default shell is set by the chsh command and is
> stored in /etc/passwd.
> 
> My uneducated guess is that vim is expecting the shell it calls to be
> bash or Bourne shell compatible and fish is not compatible enough to
> understand what vim is telling it.
> 


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to