projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d582222
)
completion: complete directory parameters to directories only
author
Jani Nikula
<jani@nikula.org>
Wed, 12 Mar 2014 20:33:49 +0000
(22:33 +0200)
committer
David Bremner
<david@tethera.net>
Tue, 25 Mar 2014 23:00:24 +0000
(20:00 -0300)
i.e. don't complete to files if only directories are acceptable.
completion/notmuch-completion.bash
patch
|
blob
|
history
diff --git
a/completion/notmuch-completion.bash
b/completion/notmuch-completion.bash
index 59f1a3ea643123ccb2ef7fe2034dac28ae8f3dc2..d88c5e7d965e96b191040fd982b71d170a8b7f71 100644
(file)
--- 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}) )