[PATCH] completion: bash completion for notmuch new --quiet option

Jani Nikula jani at nikula.org
Sun Feb 2 04:49:09 PST 2014


notmuch new now has --quiet option, complete it too.
---
 completion/notmuch-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
index 04324bb..0f13204 100644
--- a/completion/notmuch-completion.bash
+++ b/completion/notmuch-completion.bash
@@ -208,7 +208,7 @@ _notmuch_new()
 
     case "${cur}" in
 	-*)
-	    local options="--no-hooks"
+	    local options="--no-hooks --quiet"
 	    COMPREPLY=( $(compgen -W "${options}" -- ${cur}) )
 	    ;;
     esac
-- 
1.8.5.2



More information about the notmuch mailing list