Skip to content
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

Completions in fish shell are not working #63

Open
prceasar opened this issue May 10, 2023 · 1 comment
Open

Completions in fish shell are not working #63

prceasar opened this issue May 10, 2023 · 1 comment

Comments

@prceasar
Copy link

I have installed the fish completions using the following command:
envkey completion install --shell fish

and I get this message:

Using /Users/myusername/.config/fish/config.fish Wrote backup shell file to /Users/myusername/.config/fish/config.fish.bak Installing shell autocomplete... EnvKey CLI completion was installed. It will be available after starting a new shell.
But when I start a new shell I get the following error:

~/.config/fish/config.fish (line 59): command substitutions not allowed here _yargs_completions() ^^ from sourcing file ~/.config/fish/config.fish called during startup
I have made sure I have the latest envkey and made sure to update my version of fish, and still see this issue.

@danenania
Copy link
Contributor

danenania commented May 11, 2023

Hi @prceasar, these completions come from the yargs command-parsing library and it seems that they are actually bash only. I'm not sure why we had the idea that we could stick them in the fish/zsh config unchanged. We'll look into this more but we may just need to remove the fish and zsh options unless there's something straightforward we can do to fix compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants