diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-07-21 07:54:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-21 07:54:31 +0800 |
| commit | 8ee82da3cfd228d50816aeb5f5db22175f5a4ede (patch) | |
| tree | be3b32e0a579d66c37b9e07348696684127aa0a7 /runtime/lua/vim/_meta/options.lua | |
| parent | 2795df7aac9950bfb5a34485bf95fdac437aa1e2 (diff) | |
vim-patch:1f6faff: runtime(doc): mention the "pipefail" shell option (#35016)
related: vim/vim#17787
https://github.com/vim/vim/commit/1f6faff9126dde38029bd5a1eed279c294b72dca
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/options.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 727184c11a..c80201e6e3 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -5859,6 +5859,9 @@ vim.go.shcf = vim.go.shellcmdflag --- 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. --- |
