mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix unescaped ' literals in bracketed-paste
This was a case of a missing \\. Fixes #3913.
This commit is contained in:
parent
38c851f4cf
commit
3d6c4adda9
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod
|
||||||
# Without this, a \r will overwrite the other text, rendering it invisible - which makes the exercise kinda pointless.
|
# Without this, a \r will overwrite the other text, rendering it invisible - which makes the exercise kinda pointless.
|
||||||
# TODO: Test this in windows (\r\n line endings)
|
# TODO: Test this in windows (\r\n line endings)
|
||||||
bind -M paste \r "commandline -i \n"
|
bind -M paste \r "commandline -i \n"
|
||||||
bind -M paste "'" "__fish_commandline_insert_escaped ' \$__fish_paste_quoted"
|
bind -M paste "'" "__fish_commandline_insert_escaped \' \$__fish_paste_quoted"
|
||||||
bind -M paste \\ "__fish_commandline_insert_escaped \\ \$__fish_paste_quoted"
|
bind -M paste \\ "__fish_commandline_insert_escaped \\ \$__fish_paste_quoted"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue