On Wed, May 12, 2010 at 11:12 AM, Britton Kerin <[email protected]> wrote:
>  [snip]
>
>      /*
>       * Isolate the name of the shell:
>       * - Skip beyond any path.  E.g., "/usr/bin/csh -f" -> "csh -f".
>       * - Remove any argument.  E.g., "csh -f" -> "csh".
>       */
>
> Neither of these seem consistent with what actually happens:
>
>      1. Directory parts are indeed removed as the code (but not
>         the documentation) indicates.
>
>      2.  Subsequent arguments do not seem to be removed, or
>          at least they still manage to cause the shellpipe option
>          to be set to the non-bash default in my case:
>
>               set shell=bash\ --rcfile\ ~/.vim_bash
>
>          in the .vimrc causes shellpipe to end up as '| tee'.

There is an item in the todo about this:

Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3)
Find tail?  Might have a / in argument.  Find space?  Might have space in
path.

http://code.google.com/p/vim/source/browse/runtime/doc/todo.txt#58

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui