]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): mention the "pipefail" shell option
authorChristian Brabandt <cb@256bit.org>
Sun, 20 Jul 2025 15:32:51 +0000 (17:32 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 20 Jul 2025 15:33:07 +0000 (17:33 +0200)
related: #17787

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

index bc8aea013f107c4604148f4bae6b7d26d17be36b..d4bdc8196c23e0d761cefe1705b5bff706b3c901 100644 (file)
@@ -7503,6 +7503,9 @@ A jump table for the options with a short description can be found at |Q_op|.
        Don't forget to precede the space with a backslash: ":set sp=\ ".
        In the future pipes may be used for filtering and this option will
        become obsolete (at least for Unix).
+       Note: When using a pipe like "| tee", you'll lose the exit code of the
+       shell command.  This might be configurable by your shell, look for
+       the pipefail option (for bash and zsh, use ":set -o pipefail").
        This option cannot be set from a |modeline| or in the |sandbox|, for
        security reasons.