From 4243c4b9e96280ae430d0914862f0f4b1ea8a984 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Fri, 28 Jun 2019 15:27:50 +0300 Subject: [PATCH] use new quoted syntax --- rc/modules/fzf-buffer.kak | 2 +- rc/modules/fzf-yank-ring.kak | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/modules/fzf-buffer.kak b/rc/modules/fzf-buffer.kak index c1cc1e1..eb4242a 100644 --- a/rc/modules/fzf-buffer.kak +++ b/rc/modules/fzf-buffer.kak @@ -14,7 +14,7 @@ map global fzf -docstring "open buffer" 'b' ': fzf-buffer' define-command -hidden fzf-buffer %{ evaluate-commands %sh{ buffers=$(mktemp ${TMPDIR:-/tmp}/kak-fzf-buffers.XXXXXX) - eval "set -- $kak_buflist" + eval "set -- $kak_quoted_quoted_buflist" while [ $# -gt 0 ]; do printf "%s\n" "$1" >> $buffers shift diff --git a/rc/modules/fzf-yank-ring.kak b/rc/modules/fzf-yank-ring.kak index 59b15bd..f0172de 100644 --- a/rc/modules/fzf-yank-ring.kak +++ b/rc/modules/fzf-yank-ring.kak @@ -20,7 +20,7 @@ hook global -once WinCreate .* %{ try %{ define-command -hidden fzf-yank-ring %{ evaluate-commands %sh{ yanks=$(mktemp ${TMPDIR:-/tmp}/kak-fzf-yanks.XXXXXX) - eval "set -- $kak_opt_yank_ring_history" + eval "set -- $kak_quoted_opt_yank_ring_history" while [ $# -gt 0 ]; do item=$(printf "%s" "$1" | sed "s/^'//;s/'$//" | awk 1 ORS='␤') printf "%s\n" "$item" >> $yanks