-
Notifications
You must be signed in to change notification settings - Fork 401
feat(doas): new completion #766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Makes sense, thanks for the explanation!
|
if [[ ${words[i]} != -* ]]; then | ||
local PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin | ||
local root_command=${words[i]} | ||
_command_offset $i |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a similar way to_comp_root_command()
(defined in bash_completion
), I think we want to enable the completion as if the current user has root privilege.
_command_offset $i | |
local _comp_root_command=1 | |
_command_offset $i |
Please confirm that you have no intention in merging or supporting bash completions in opendoas. Otherwise bash-completions the project, refuses to merge the bash-completion profile for doas. It's stuck for 3 years now. |
In case, the upstream issue is Duncaen/OpenDoas#62. The upstream PR is Duncaen/OpenDoas#84. |
The upstream issue and patch have been ignored for four years. I think that's enough evidence of lack of interest from upstream |
Fix #505