EivindArvesen/prm

Feature request: shell completion

aumo opened this issue · 5 comments

aumo commented

It would be a nice feature to have smart completion. It is in fact the only thing that prevents me from using prm everywhere.

Unfortunately, I do not have the skills (nor time to improve them right now) to write such a feature, so I am only suggesting.

This is on my to-do list, but as I don't have much experience with shell completion, I don't know how quickly I'll be able to implement this feature.

aumo commented

That's good to hear thanks.

pew as an interface very similar prm, you may find helpful to check how they do it.

Thanks – I'll be sure to check it out.

@aumo : Sorry for the delay.

I've implemented shell completion on a separate branch.
Everything works for me (OS X, bash-completion installed via Homebrew), and it should work on other systems/configurations.

At present, only bash is supported – zsh will be supported as quickly as I get around to it.
If someone more experienced with zsh wants to take a crack at it (to speed up development), this might be a good source of inspiration.

When they are done, the completions also need to be documented (#19).