]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): clarify the effect of setting the shell to powershell
authorChristian Brabandt <cb@256bit.org>
Thu, 25 Apr 2024 19:21:37 +0000 (21:21 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 25 Apr 2024 19:21:37 +0000 (21:21 +0200)
fixes: #14636

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/os_dos.txt

index e81ba9a5abf60ec2ee1d2e26beba29cf100543a4..1b738f43ac1069d274fe39f43d6074bf3f890418 100644 (file)
@@ -1,4 +1,4 @@
-*os_dos.txt*    For Vim version 9.1.  Last change: 2006 Mar 30
+*os_dos.txt*    For Vim version 9.1.  Last change: 2024 Apr 25
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -330,6 +330,11 @@ following values:
 'shellpipe'    >%s 2>&1
 'shellredir'   >%s 2>&1
 
+Note: those options are only set after reading the |.vimrc| file, in
+particular setting the 'shell' option via |-c| is too late to take effect for
+the other shell related settings.  Consider using |--cmd| to override this
+option via the command line.
+
 If you find that PowerShell commands are taking a long time to run then try
 with "-NoProfile" at the beginning of the 'shellcmdflag'.  Note this will
 prevent any PowerShell environment setup by the profile from taking place.