1
0
Fork 0

remove surrounding quotes

This commit is contained in:
Andrey Orst 2019-04-08 09:08:56 +03:00
parent 8dab12526d
commit 58e065669f

View file

@ -24,6 +24,6 @@ define-command -hidden fzf-yank-ring %{ evaluate-commands %sh{
message="Swap between yanks."
printf "%s" "fzf -kak-cmd %{set-register dquote} -items-cmd %{cat $yanks} -filter %{sed \"s/␤/\\\n/g;s/^'|'$//\"}"
printf "%s\n" "fzf -kak-cmd %{set-register dquote} -items-cmd %{cat $yanks} -filter %{sed 's/␤/\\\\n/g;s/^.//;s/.\\\n$//'}"
}}