mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
fish_clipboard_paste: Fix multiline pasting
This commit is contained in:
parent
17ba21cfe4
commit
cc7d83fa94
1 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,6 @@ function fish_clipboard_paste
|
||||||
set data (string replace -ra "(['\\\])" '\\\\\\\$1' -- $data)
|
set data (string replace -ra "(['\\\])" '\\\\\\\$1' -- $data)
|
||||||
end
|
end
|
||||||
if test -n "$data"
|
if test -n "$data"
|
||||||
commandline -i -- "$data"
|
commandline -i -- $data
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue