From b6238f7e510b26e49d7ba91c687ca22e2f07882d Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Wed, 12 Mar 2014 22:33:49 +0200 Subject: [PATCH] completion: complete directory parameters to directories only i.e. don't complete to files if only directories are acceptable. --- completion/notmuch-completion.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash index 59f1a3ea..d88c5e7d 100644 --- a/completion/notmuch-completion.bash +++ b/completion/notmuch-completion.bash @@ -78,7 +78,7 @@ _notmuch_compact() $split && case "${prev}" in --backup) - _filedir + _filedir -d return ;; esac @@ -107,7 +107,7 @@ _notmuch_config() ;; # these will also complete on config get, but we don't care database.path) - _filedir + _filedir -d ;; maildir.synchronize_flags) COMPREPLY=( $(compgen -W "true false" -- ${cur}) ) -- 2.26.2