-
-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocompletion does not work from subfolders #950
Comments
@TheKangaroo What shell are you using? # (( enabled )) || return 0 I haven't really played with the completion scripts before, so I'm not sure if the existent checks are necessary for any reason. I suspect they're not needed now that we're walking up the directory tree to search for files. Edit: going to categorise as a bug since this is unintended behaviour |
@TheKangaroo I've just tried this again with ZSH and it now seems to be working for me without any changes. Not sure what changed. Could you confirm what shell you're using and how you have configured your completions? |
Sorry for the late response. |
Sorry, I missed the part with the configuration. export FPATH="$FPATH:/opt/homebrew/share/zsh/site-functions"
autoload -U compinit && compinit -i
compdef _task task I think I found this somewhere on the discord. |
Also zsh, same problem, same solution. I'd expect the completion scripts to have unified logic to some degree 🤔 |
Same issue on macOS Monterey, task version: 3.20.0, zsh version 5.8.1. It does not work for me even by commenting the As a workaround, I created an alias in my I believe the autocompletion logic cannot print the list of available tasks when running in a subfolder without the |
The same issue on Linux Ubuntu 22.04, Task version v3.33.1. It worked before updating to the latest version in subdirectories, but now it only works in the root directory. I have yet to revert to the previous versions to test. Update: |
I'm not 100% sure if this is a bug report or a feature request.
I love the new feature that you can call task from all subfolders (#920) but it seems like autocompletion is not working in this case.
Is this something that can be fixed easily?
The text was updated successfully, but these errors were encountered: