mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
feat(pwsh): Set STARSHIP_SHELL to pwsh on PS >5 (#3443)
* feat(pwsh): Set STARSHIP_SHELL to pwsh ON PS >5 This is needed for the custom module to use the correct shell. Closes #3376 * Update src/context.rs Co-authored-by: David Knaack <davidkna@users.noreply.github.com> Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ impl<'a> Context<'a> {
|
||||
"bash" => Shell::Bash,
|
||||
"fish" => Shell::Fish,
|
||||
"ion" => Shell::Ion,
|
||||
"powershell" => Shell::PowerShell,
|
||||
"powershell" | "pwsh" => Shell::PowerShell,
|
||||
"zsh" => Shell::Zsh,
|
||||
"elvish" => Shell::Elvish,
|
||||
"tcsh" => Shell::Tcsh,
|
||||
|
||||
Reference in New Issue
Block a user