On Zsh the tab-completion ignores the -f
and -k
command line options.
dodo.py
file, only a some_dodo.py
file in the current directory and the -f
command line option is given, an error is thrown when trying to perform tab-completion:
$ doit -f some_dodo.py [tab]ERROR: Could not find dodo file '$PWD/dodo.py'.
Please use '-f' to specify file name.
Expected behaviour: Instead of throwing an error, the normal tab-completion should be performed (i.e, a list of tasks defined in some_dodo.py
should be printed).dodo.py
is in a parent directory and the -k
command line option is given, the tab-completion fails, too.
$ doit -k [tab]ERROR: Could not find dodo file '$PWD/dodo.py'.
Please use '-f' to specify file name.
Expected behaviour: Instead of throwing an error, a list of tasks defined e.g. in ../dodo.py
should be printed.In both cases, if there is a dodo.py
file in the current directory, the tasks defined in this file are listed.
Tested version:
$ doit --version
0.31.1
$ zsh --version
zsh 5.4.2 (x86_64-ubuntu-linux-gnu)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too