Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: shebang consistency



On Wed, Dec 12, 2007 at 08:13:39PM -0800, Bart Schaefer wrote:
> (Why doesn't s:^#!.*[^ /]zsh:#!/bin/zsh: do the trick?  How much shorter
> do you need to get?)

Probably that out-of-place caret.  I wasn't handling the env case,
(and I don't have env in /bin), so I was thinking it would be nice to just
have a single string to match.

> I guess I'd suggest standardizing on "#!/bin/zsh" plus options.

Works for me.



Messages sorted by: Reverse Date, Date, Thread, Author