mirror of
https://github.com/starship/starship.git
synced 2026-06-21 02:02:14 +07:00
feat(cli): accept 'powershell' for completions subcommand (#7028)
--------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -26,12 +26,13 @@ struct Cli {
|
||||
command: Commands,
|
||||
}
|
||||
|
||||
#[derive(clap::Parser, ValueEnum, Debug, Clone, Copy, PartialEq, Eq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]
|
||||
enum CompletionShell {
|
||||
Bash,
|
||||
Elvish,
|
||||
Fish,
|
||||
Nushell,
|
||||
#[clap(name = "powershell", alias = "pwsh", alias = "power-shell")]
|
||||
PowerShell,
|
||||
Zsh,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user