Duncaen / OpenDoas

A portable fork of the OpenBSD `doas` command
Other
623 stars 35 forks source link

Support for bash-completion #62

Open fethomm opened 3 years ago

fethomm commented 3 years ago

Can you please add support for bash-completion to OpenDoas. Would anyone be interested in setting this up? That would really help in making doas a good drop-in alternative for sudo. I have already opened a bug report in Debian and an issue in bash-completion.

Tunoac commented 3 years ago

you can do this without change any in doas:

/etc/bash.bashrc [...] [ -n "$PS1" ] && complete -cf doas