summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-02-12 23:23:31 +0100
committerBram Moolenaar <Bram@vim.org>2012-02-12 23:23:31 +0100
commita64ba220f0172049c5407a3020dcd687911a5a31 (patch)
tree2538c942f237e37a080ceb40994d72823352e415 /runtime
parent60542ac9fd078d5f87fa5f91131432d8a316bb0f (diff)
downloadvim-git-a64ba220f0172049c5407a3020dcd687911a5a31.tar.gz
updated for version 7.3.443v7.3.443
Problem: MS-Windows: 'shcf' and 'shellxquote' defaults are not very good. Solution: Make a better guess when 'shell' is set to "cmd.exe". (Ben Fritz)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index e7d6f0184..ff233acb8 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6041,8 +6041,8 @@ A jump table for the options with a short description can be found at |Q_op|.
*'shellxquote'* *'sxq'*
'shellxquote' 'sxq' string (default: "";
- for Win32, when 'shell' contains "sh"
- somewhere: "\""
+ for Win32, when 'shell' is cmd.exe or
+ contains "sh" somewhere: "\""
for Unix, when using system(): "\"")
global
{not in Vi}
@@ -6050,11 +6050,12 @@ A jump table for the options with a short description can be found at |Q_op|.
the "!" and ":!" commands. Includes the redirection. See
'shellquote' to exclude the redirection. It's probably not useful
to set both options.
- This is an empty string by default. Known to be useful for
- third-party shells when using the Win32 version, such as the MKS Korn
- Shell or bash, where it should be "\"". The default is adjusted
- according the value of 'shell', to reduce the need to set this option
- by the user. See |dos-shell|.
+ This is an empty string by default on most systems, but is known to be
+ useful for on Win32 version, either for cmd.exe which automatically
+ strips off the first and last quote on a command, or 3rd-party shells
+ such as the MKS Korn Shell or bash, where it should be "\"". The
+ default is adjusted according the value of 'shell', to reduce the need
+ to set this option by the user. See |dos-shell|.
This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.