On Tue, Mar 08, 2011 at 11:01:38AM -0500, Okan Demirmen wrote:
> On Tue 2011.03.08 at 09:44 -0500, Dan Harnett wrote:
> > This doesn't belong there.  This effective turns \W into \w if the path
> > is somewhere in the user's home directory.  Without that conditional, it
> > matches bash.
>
> bah, but I liked that :)  however, you are correct...smaller diff below:

> -                             strlcpy(strbuf, basename(p), sizeof strbuf);
> +                             n = strlen(str_val(global("HOME")));

I don't believe you need to set n anymore, as it's unused here.

Otherwise, ok danh@

Reply via email to