Skip to content

Commit 1f6faff

Browse files
committed
runtime(doc): mention the "pipefail" shell option
related: #17787 Signed-off-by: Christian Brabandt <[email protected]>
1 parent c02bef2 commit 1f6faff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

runtime/doc/options.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7503,6 +7503,9 @@ A jump table for the options with a short description can be found at |Q_op|.
75037503
Don't forget to precede the space with a backslash: ":set sp=\ ".
75047504
In the future pipes may be used for filtering and this option will
75057505
become obsolete (at least for Unix).
7506+
Note: When using a pipe like "| tee", you'll lose the exit code of the
7507+
shell command. This might be configurable by your shell, look for
7508+
the pipefail option (for bash and zsh, use ":set -o pipefail").
75067509
This option cannot be set from a |modeline| or in the |sandbox|, for
75077510
security reasons.
75087511

0 commit comments

Comments
 (0)