jc: add completions and README#1144
Conversation
weirdan
left a comment
There was a problem hiding this comment.
Is there any chance to add magic command support too? You can run jc df instead of df | jc --df, but these completions won't suggest that.
|
Yup: Didn't know about magic_commands, cool! |
|
Almost done, I now just want to make the magic commands appear fist |
|
Seems like that's not a thing we can control. Oh well |
|
Hmm, actually I can just filter based on the current input and not show the "-" |
|
Works well now, but I removed the caching using |
|
Managed to do it well using |
|
Oops, there's a mistake where we memoize ones that don't contain "-" |
|
Ready to merge now, would love to see if it works for you also @weirdan |
weirdan
left a comment
There was a problem hiding this comment.
jc gi<tab> produces invalid completions (ought to include git ls-remote), but I can live with that.
|
cool. thanks! |

Errors: