mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 19:38:07 +01:00
completion: complete directory parameters to directories only
i.e. don't complete to files if only directories are acceptable.
This commit is contained in:
parent
d5822224da
commit
b6238f7e51
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ _notmuch_compact()
|
||||||
$split &&
|
$split &&
|
||||||
case "${prev}" in
|
case "${prev}" in
|
||||||
--backup)
|
--backup)
|
||||||
_filedir
|
_filedir -d
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -107,7 +107,7 @@ _notmuch_config()
|
||||||
;;
|
;;
|
||||||
# these will also complete on config get, but we don't care
|
# these will also complete on config get, but we don't care
|
||||||
database.path)
|
database.path)
|
||||||
_filedir
|
_filedir -d
|
||||||
;;
|
;;
|
||||||
maildir.synchronize_flags)
|
maildir.synchronize_flags)
|
||||||
COMPREPLY=( $(compgen -W "true false" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "true false" -- ${cur}) )
|
||||||
|
|
Loading…
Reference in a new issue