mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-27 13:17:56 +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 &&
|
||||
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}) )
|
||||
|
|
Loading…
Reference in a new issue