A few months ago I wrote these bash-completion scripts for s6-rc.
They're not the most elegant or concise completion scripts ever (far
from it, it's my first very complex completion script). However, they
handle -l and -c options, which help when working with multiple
database and/or user services.
If you want to try it, download and source the following script in your bashrc:
https://gist.github.com/capezotte/45d9d5ebad50aa7419f632a43dad604e
Feedback is welcome.
Received on Tue Apr 04 2023 - 21:26:41 CEST