[PATCH 2/2] completion: complete notmuch insert --folder to maildir folders only

David Bremner david at tethera.net
Wed Dec 31 12:36:58 PST 2014


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?

d


More information about the notmuch mailing list