On Wed, Dec 31 2014, David Bremner <david at tethera.net> wrote:
> Jani Nikula <jani at nikula.org> writes:
>> + local path=`notmuch config get database.path`
>> + compopt -o nospace
>> + COMPREPLY=( $(compgen -d "$path/${cur##folder:}" | \
>> + sed "s|^$path/||" | grep -v "\(^\|/\)\(cur\|new\|tmp\)$"
>
> I'm a bit confused here. Why is 'folder:' being stripped? Too much
> copy-pasta?
compgen -d wants a directory ?
there seems to be similar strippings done in completion of
notmuch_search_terms.
>
> d
Tomi
PS: if it weren't inconsistent change, just on '#' would suffice ;)