fix(character): also handle vi edit mode in pwsh (#5775)
* Add missing vi for char for Shell::Pwsh https://github.com/starship/starship/pull/5478#issuecomment-1886829331
This commit is contained in:
parent
1fed469ba8
commit
0891ec27a4
|
@ -37,7 +37,7 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> {
|
|||
let mode = match (&context.shell, keymap) {
|
||||
(Shell::Fish, "default")
|
||||
| (Shell::Zsh, "vicmd")
|
||||
| (Shell::Cmd | Shell::PowerShell, "vi") => ShellEditMode::Normal,
|
||||
| (Shell::Cmd | Shell::PowerShell | Shell::Pwsh, "vi") => ShellEditMode::Normal,
|
||||
(Shell::Fish, "visual") => ShellEditMode::Visual,
|
||||
(Shell::Fish, "replace") => ShellEditMode::Replace,
|
||||
(Shell::Fish, "replace_one") => ShellEditMode::ReplaceOne,
|
||||
|
|
Loading…
Reference in New Issue