On Fri, Nov 16, 2007 at 10:01:03AM -0500, Charles E Campbell Jr wrote:
> 
> gour wrote:
> 
> >I hit the problem in vim yesterday when I wanted to run fish shell
> >(http://fishshell.org) within vim and soon got informed that the
> >problem is
> >  
> >
> Exactly what is the problem?  Are you trying to use system(), or filters 
> (:!), or what?

It's easily observable using system() but anything else that tries to
invoke commands in a subshell and capture the output will run into the
same problem.  Vim is running this command

  /usr/bin/fish -c "(ls /tmp) >/tmp/v244859/1"

fish doesn't allow you to use a subshell command as the actual command
being run.  That is, the above command-line errors out (in an
interactive shell) with "Illegal command name (ls /tmp)".  Vim should
simply be running it as

  /usr/bin/fish -c "ls /tmp >/tmp/v244859/1"

From what I've seen in Vim's shell-related options, there isn't anything
to affect this.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui