completion: complete notmuch insert --keep and --no-hooks options

This commit is contained in:
Jani Nikula 2014-11-10 21:35:42 +02:00 committed by David Bremner
parent 7b31f54ed9
commit 516a1b37b6

View file

@ -196,7 +196,7 @@ _notmuch_insert()
! $split && ! $split &&
case "${cur}" in case "${cur}" in
--*) --*)
local options="--create-folder --folder=" local options="--create-folder --folder= --keep --no-hooks"
compopt -o nospace compopt -o nospace
COMPREPLY=( $(compgen -W "$options" -- ${cur}) ) COMPREPLY=( $(compgen -W "$options" -- ${cur}) )
return return