It is in the '[alias]' section, exactly like yours.

One difference I can see is that you have no space between the 0 and
the escape character at the end of the line, but I don't think this is
significant.

Maybe you might want to experiment with a simpler construct, such as:

[alias]
     foo = !"sh -c 'echo hello' "

and see if that works. Then slowly expand this to the full invocation
by adding the bits and pieces one at time (e.g., the conditional, then
the exit, etc.).

-- jeet

On Mar 23, 4:55 pm, Alex Satrapa <[email protected]> wrote:
> On 23/03/2010, at 17:48 , [email protected] wrote:
>
> > See my reply to Roddie above. What shell are you using?
>
> I'm using ZSH, the only shell!
>
> > [alias]
> >    bbdiff = !"sh -c \"if [ -f '$1' ] && [ -f '$2' ]; then /usr/bin/bbdiff 
> > --wait --resume '$1' '$2'; fi; exit 0\""
>
> What section is your "bbdiff" line in?

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to