On Mon, 1 Aug 2011, Simon Nicolussi wrote:

Benjamin R. Haskell wrote:
That solves the problem since the OP wants bash syntax. I don't. Is there a reason the constructs mentioned aren't included in "plain 'sh'" mode?

Not all shells support command substitution via $(...), even though it is required by POSIX. The /bin/sh in Solaris comes to mind.

[Just FYI:] The /bin/sh in Solaris 10 works fine. Wouldn't surprise me if 5.8 or prior didn't...


If you know you're using a compatible shell, you can specify:

 let g:is_posix = 1

Seems like this should be the default, but okay. I see it in the help now. Presuming this doesn't affect zsh-detection, I'll just add it and be done.

--
Thanks,
Ben

--
You received this message from the "vim_use" 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

Reply via email to