jubako / arx

Store files and directory in an archive. Like tar, but faster and with direct random access.
MIT License
151 stars 2 forks source link

Generate completion #86

Open mbridon opened 1 day ago

mbridon commented 1 day ago

So, the --generate-complete option is pretty interesting!

However, when I run it I just get a wall of $shell script :facepalm:

Would be nicer if instead it could ask if I want to save it so that next time I reload my shell I can get the completion. :smirk:

For example, something like the following:

arx --generate-complete bash

Do you want to save the result in /usr/share/bash-completion/completions/arx so that your
shell will automatically load it? [Y/ n]