diff options
author | Enan Ajmain <3nan.ajmain@gmail.com> | 2022-10-04 02:14:18 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 13:14:18 -0700 |
commit | 51d379d40d14d35ccb8e4038504d6c0cda9be62c (patch) | |
tree | 062d812ddd55b86f94751c59053c1c702a31da16 | |
parent | 56998feebd6f7ec0ab68e44cba3425bf39d448b4 (diff) | |
download | rneovim-51d379d40d14d35ccb8e4038504d6c0cda9be62c.tar.gz rneovim-51d379d40d14d35ccb8e4038504d6c0cda9be62c.tar.bz2 rneovim-51d379d40d14d35ccb8e4038504d6c0cda9be62c.zip |
docs(shell): mention "&" for piping with powershell #20459
New behaviour since PR #19438
-rw-r--r-- | runtime/doc/various.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index cae9c76030..cd178cfbbb 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -260,6 +260,10 @@ g8 Print the hex values of the bytes used in the Use |jobstart()| instead. > :call jobstart('foo', {'detach':1}) < + For powershell, chaining a stringed executable path + requires using the call operator (&). > + :!Write-Output "1`n2" | & "C:\Windows\System32\sort.exe" /r +< *E34* Any "!" in {cmd} is replaced with the previous external command (see also 'cpoptions'), unless |