drink icon indicating copy to clipboard operation
drink copied to clipboard

Tab completing for the `cd` command

Open pmikolajczyk41 opened this issue 2 years ago • 2 comments

or if this is too hard, as a workaround, allow passing a starting directory like ./target/release/drink-cli exmaples/flipper

cc: @JoshOrndorff

pmikolajczyk41 avatar Jun 23 '23 08:06 pmikolajczyk41

I've spent some time trying to get this working, but actually, I don't see any easy, good working solution. clap_complete is able to generate a short shell script, but it's still pretty troublesome to run it (it's not a single command). Also, displaying available completions is a question mark :|

While I agree that it would be a nice feature, for now we will have to park it.

pmikolajczyk41 avatar Jun 23 '23 13:06 pmikolajczyk41

@JoshOrndorff we merged the change allowing to pass a starting directory, you can give that a spin! ;)

piotrMocz avatar Jul 06 '23 15:07 piotrMocz