I found a lot of instructions for changing the initial PowerShell prompt (i.e. prompt(), here is an example of one of many useful resources: http://blog.dabasinskas.net/customizing-windows-powershell-command-prompt/ ), but I could not find nothing about how to change the secondary / multi-line prompt ( >>), or the Windows equivalent string $PS2in Linux / Unix systems.
Here is an example of a change,
[current_directory] $ `
>>
from to >> $
[current_directory] $ `
$
Thank.
source
share