aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-31 22:29:40 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-31 22:29:40 -0500
commit0da7774cf0e503efc93c15033a94ff756d5252e1 (patch)
tree92ddab1bb4ab3413ead7b78f91709415454a9eac
parentd53456c68f364889c075ec0b10aaa1b722e47412 (diff)
downloadrneovim-0da7774cf0e503efc93c15033a94ff756d5252e1.tar.gz
rneovim-0da7774cf0e503efc93c15033a94ff756d5252e1.tar.bz2
rneovim-0da7774cf0e503efc93c15033a94ff756d5252e1.zip
doc: powershell is 'pwsh' on non-Windows OS
-rw-r--r--runtime/doc/options.txt5
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