diff options
-rw-r--r-- | runtime/doc/options.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 4b832a8606..9c875a3a34 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -5202,8 +5202,9 @@ A jump table for the options with a short description can be found at |Q_op|. Note that such processing is done after |:set| did its own round of unescaping, so to keep yourself sane use |:let-&| like shown above. *shell-powershell* - To use powershell (on Windows): > - set shell=powershell shellquote= shellpipe=\| shellxquote= + To use powershell: > + let &shell = has('win32') ? 'powershell' : 'pwsh' + set shellquote= shellpipe=\| shellxquote= set shellcmdflag=-NoLogo\ -NoProfile\ -ExecutionPolicy\ RemoteSigned\ -Command set shellredir=\|\ Out-File\ -Encoding\ UTF8 |