nushell/.github
Mark Lansky 80220b722b
Completions: add support for doas as for sudo (#10256)
# Description

Fixes #2047 but for the `doas` command the same way as in #8094

# User-Facing Changes
No breaking changes. If people not using `doas`, no difference at all.

# Tests
I have not added any tests since its using same logic as for "sudo". I
guess if something would go wrong in this part, sudo tests will cover
it?

# Additional context
As a nushell user I could not find a way to implement custom completion
for a "sudo like command". Since I can see `sudo` being hardcoded in
sources, this is what I propose.

~~Also I have almost zero knowledge of rust and this is definitely not
the clean way yet~~

---------

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
2023-09-28 15:29:57 +02:00
..
AUTO_ISSUE_TEMPLATE Move the nightly issue template to a hidden place (#9495) 2023-06-21 22:41:57 +08:00
ISSUE_TEMPLATE Move the nightly issue template to a hidden place (#9495) 2023-06-21 22:41:57 +08:00
workflows Improve release script for github release workflow (#10502) 2023-09-25 19:55:51 +08:00
.typos.toml Completions: add support for doas as for sudo (#10256) 2023-09-28 15:29:57 +02:00
dependabot.yml experiment with dependabot and rust dependencies (#7716) 2023-01-11 16:30:34 -06:00
pull_request_template.md Add notice to enable develop mode on Windows (#10111) 2023-08-24 11:02:54 -07:00