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

Import bash completions #15

Closed
andreiborisov opened this issue May 23, 2021 · 5 comments
Closed

Import bash completions #15

andreiborisov opened this issue May 23, 2021 · 5 comments

Comments

@andreiborisov
Copy link

andreiborisov commented May 23, 2021

A lot of tools still don't have fish completions but do have bash completions. It would be cool to be able to write something like this in config.fish:

replay source /usr/local/etc/bash_completion.d/flutter.bash

to source bash completions.

@jorgebucaran
Copy link
Owner

That would make replay behave like bash on completion, correct?

@andreiborisov
Copy link
Author

andreiborisov commented May 24, 2021

Basically, what I want is to "import" bash completions in fish. It should be already theoretically possible (I think) by writing fish complete functions which would just call respected bash completions.

What this issue is about whether replay could automate that somehow.

@jorgebucaran
Copy link
Owner

I see. What happens if you try to import them right now?

@andreiborisov
Copy link
Author

Nothing

@jorgebucaran
Copy link
Owner

I get it now. Transforming completions written in Bash into Fish. I'd really like to keep it simple for now, so I'll pass, but who knows!

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