mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
doc: powershell is 'pwsh' on non-Windows OS
This commit is contained in:
parent
b92399d008
commit
1c3afe4e25
@ -5168,8 +5168,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user