diff --git a/shell.go b/shell.go index e096e56c..4acaecf6 100644 --- a/shell.go +++ b/shell.go @@ -31,11 +31,11 @@ var Shells = map[string]Shell{ Command: `clear; fish --login --private -C 'function fish_greeting; end' -C '%s'`, }, powershell: { - Prompt: "Function prompt {Write-Host \"> \" -ForegroundColor Blue -NoNewLine; return \"`0\" }", + Prompt: "Function prompt {Write-Host \\\"> \\\" -ForegroundColor Blue -NoNewLine; return \\\"`0\\\" }", Command: ` clear; powershell -NoLogo -NoExit -Command 'Set-PSReadLineOption -HistorySaveStyle SaveNothing; %s'`, }, pwsh: { - Prompt: "Function prompt {Write-Host \"> \" -ForegroundColor Blue -NoNewLine; return \"`0\" }", + Prompt: "Function prompt {Write-Host \\\"> \\\" -ForegroundColor Blue -NoNewLine; return \\\"`0\\\" }", Command: ` clear; pwsh -Login -NoLogo -NoExit -Command 'Set-PSReadLineOption -HistorySaveStyle SaveNothing; %s'`, }, cmdexe: {