diff options
author | Jason Cox <dev@jasoncarloscox.com> | 2021-08-29 12:36:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-29 12:36:49 +0200 |
commit | 6e82351130ddb8d13cf3748b47f07cae77886fc7 (patch) | |
tree | 9007fdf6d5ed2bb0b05294beb034fe7206da11e8 /runtime/doc | |
parent | 9dcd349ca85e1df1abd1cbf1c29c0f1574b70bf8 (diff) | |
download | vim-git-6e82351130ddb8d13cf3748b47f07cae77886fc7.tar.gz |
patch 8.2.3385: escaping for fish shell does not work properlyv8.2.3385
Problem: Escaping for fish shell does not work properly.
Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index db74f9c10..93ff4169f 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -10111,6 +10111,10 @@ shellescape({string} [, {special}]) *shellescape()* escaped. When 'shell' containing "csh" in the tail it's escaped a second time. + The "\" character will be escaped when 'shell' contains "fish" + in the tail. That is because for fish "\" is used as an escape + character inside single quotes. + Example of use with a |:!| command: > :exe '!dir ' . shellescape(expand('<cfile>'), 1) < This results in a directory listing for the file under the |