-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Fix fish support #338
Fix fish support #338
Conversation
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Looks good! There were bugs. |
I think there is some difference in bash and fish around this place When I run |
The changes look correct to me. |
Thanks for the PR! |
Look's like it's only 3.1.2 feature (or bug), also can't reproduce on 2.7.1, report it as fish-shell/fish-shell#7646 |
Thanks for reporting that issue @volkov. If it turns out more changes are required in argcomplete, feel free to open a new issue and/or PR to address it. |
It looks like this issue may not be fixed any time soon in fish, so in the meantime you could choose to use the tempfile-based IPC mechanism we included for Git Bash on Windows: https://github.com/kislyuk/argcomplete/blob/9e2c6712c761d05f64f4d558a381d9be9fa13988/README.rst#git-bash-support |
Although fish-shell support was implemented in #260, I think some parts are wrong.
/dev/null
when_ARC_DEBUG
is set.register-python-argcomplete --shell fish ~/.config/fish/completions/my-awesome-script.fish
register-python-argcomplete --shell fish my-favourite-script.py > ~/.config/fish/my-favourite-script.py.fish
@kislyuk @volkov Could you please take a look? Thank you.