mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-14 03:25:15 +01:00
bash-completion: Whitespace fix
Signed-off-by: Ingmar Vanhassel <ingmar@exherbo.org>
This commit is contained in:
parent
4033d87fdd
commit
829dac9a1b
1 changed files with 2 additions and 2 deletions
|
@ -53,11 +53,11 @@ _notmuch()
|
|||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
|
||||
if [[ "$COMP_CWORD" == "1" ]]; then
|
||||
COMPREPLY=( $(compgen -W "${commands}" -- ${current}) )
|
||||
COMPREPLY=( $(compgen -W "${commands}" -- ${current}) )
|
||||
fi
|
||||
|
||||
if [[ $prev = "help" && "$COMP_CWORD" == "2" ]]; then
|
||||
COMPREPLY=( $(compgen -W "${help_options}" -- ${current}) )
|
||||
COMPREPLY=( $(compgen -W "${help_options}" -- ${current}) )
|
||||
fi
|
||||
}
|
||||
complete -o default -o bashdefault -F _notmuch notmuch
|
||||
|
|
Loading…
Add table
Reference in a new issue