edc / bass

Make Bash utilities usable in Fish shell
MIT License
2.2k stars 70 forks source link

import bash completions through bass? #37

Open andrew-kennedy opened 7 years ago

andrew-kennedy commented 7 years ago

Is there a way to get bass to evaluate bash tab completions? For example, the angular-cli provides a completion script to add to .bashrc in order to get tab completions for the ng tool. I'd love to have these completions available in fish through bass if possible, but I'm not sure if it's even possible.

edc commented 7 years ago

That is an interesting idea. How does bash completion works?

j0hnsmith commented 7 years ago

Someone says it can be done here https://stackoverflow.com/a/36830765/121725 but I can't get it to work (with gcloud).