systemd / casync

Content-Addressable Data Synchronization Tool
1.51k stars 117 forks source link

Add basic bash completion #205

Closed elboulangero closed 5 years ago

elboulangero commented 5 years ago

This is not complete, it only provides commands, not options, but it's better than nothing I guess?

poettering commented 5 years ago

hmm, not a bash completion guru myself. looks superficially ok to me. Will leave this for @keszybz to have a final look on, he knows this kind of thing better than i do, i think.

keszybz commented 5 years ago

We'll want to add verb-specific completions (some of the verbs only take .catar/.castr/... as arguments), but this is already useful on its own and a good start.