completion: complete lastmod: search prefix

This commit is contained in:
Jani Nikula 2015-10-18 00:03:35 +03:00 committed by David Bremner
parent 23180439cb
commit 4cff5a9f98

View file

@ -86,7 +86,7 @@ _notmuch_search_terms()
sed "s|^$path/||" | grep -v "\(^\|/\)\(cur\|new\|tmp\)$" ) ) sed "s|^$path/||" | grep -v "\(^\|/\)\(cur\|new\|tmp\)$" ) )
;; ;;
*) *)
local search_terms="from: to: subject: attachment: mimetype: tag: id: thread: folder: path: date:" local search_terms="from: to: subject: attachment: mimetype: tag: id: thread: folder: path: date: lastmod:"
compopt -o nospace compopt -o nospace
COMPREPLY=( $(compgen -W "${search_terms}" -- ${cur}) ) COMPREPLY=( $(compgen -W "${search_terms}" -- ${cur}) )
;; ;;