Fish completions raise errors but still works
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- macOS 10.15.7:
- 1.2.0b2:
- fish 3.5:
Issue
I installed the completions as explained in the doc, and completions are working. But there is an error when triggering autocomplete with <kbd>TAB</kbd> key :
~/.config/fish/completions/poetry.fish (line 57):
complete -c poetry -f -n '__fish_poetry_e3d63c4129b80bf7_complete_no_subcommand' -a source show -d 'Show information about sources configured for the project.'
^
from sourcing file ~/.config/fish/completions/poetry.fish
I put the last error only, but the console print this error for almost every line of this file.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top Results From Across the Web
git config completions messed up for fish shell on ubuntu 20.04
1. Tab completion shows errors whenever I use it with the git config command. The completion still works but it looks very ugly....
Read more >Documentation - fish shell
These are the general purpose tab completions that fish provides: Completion of commands (builtins, functions and regular programs). Completion of shell ...
Read more >Adding pass completion to fish shell - Unix StackExchange
It's possible that fish is looking somewhere else. Try echo $fish_complete_path and verify that it includes ~/.config/fish/completions/ .
Read more >Fix zypper completion in fish (shell) - openSUSE Forums
So I've been playing around with some alternatives shells and I have just about settled on fish. My only issues are with completion...
Read more >Fish shell doesn't return program error - Super User
Are these errors printed or redirected correctly or captured in any way? By default, are they set to be printed to your default...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I still get an error using autocomplete in fish.
Poetry (version 1.3.0) fish, version 3.5.1
log
Completion bugs are now fixed with the incoming release.