Re: "search --path=directory/" is lame(-ish)

Subject: Re: "search --path=directory/" is lame(-ish)

Date: Wed, 29 Mar 2017 07:34:08 -0300

To: David Edmondson, notmuch@notmuchmail.org

Cc:

From: David Bremner


David Edmondson <dme@dme.org> writes:

> Adding a terminal slash to a directory name when using --path causes the
> search to fail. Removing the terminal slash produces results.
>
> Given that many shells will add the terminal slash during completion,
> this is lame(-ish).

This would be relatively straightforward to impliment on top of

     id:20170324121436.28978-2-david@tethera.net

In particular add a filter to strip trailing / in the non-regex case.

d

Thread: