]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.bash
completion: complete directory parameters to directories only
[notmuch] / completion / notmuch-completion.bash
index 59f1a3ea643123ccb2ef7fe2034dac28ae8f3dc2..d88c5e7d965e96b191040fd982b71d170a8b7f71 100644 (file)
@@ -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}) )