mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 08:01:30 +02:00
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>
This commit is contained in:
1
.github/.typos.toml
vendored
1
.github/.typos.toml
vendored
@@ -11,3 +11,4 @@ Plasticos = "Plasticos"
|
||||
IIF = "IIF"
|
||||
numer = "numer"
|
||||
ratatui = "ratatui"
|
||||
doas = "doas"
|
||||
|
Reference in New Issue
Block a user