runtime(doc): clarify the effect of setting the shell to powershell

Commit: 
https://github.com/vim/vim/commit/addf9ed620b01cc8f69fb7a27c6b12514fdda24e
Author: Christian Brabandt <c...@256bit.org>
Date:   Thu Apr 25 21:21:37 2024 +0200

    runtime(doc): clarify the effect of setting the shell to powershell
    
    fixes: https://github.com/vim/vim/issues/14636
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/os_dos.txt b/runtime/doc/os_dos.txt
index e81ba9a5a..1b738f43a 100644
--- a/runtime/doc/os_dos.txt
+++ b/runtime/doc/os_dos.txt
@@ -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.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1s04nK-00EgY0-3u%40256bit.org.

Raspunde prin e-mail lui