From 6b49595ffcb0d1894d7081668b19acf880b6dc51 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Tue, 27 Nov 2018 08:07:26 +0300 Subject: [PATCH] add final newline --- rc/fzf-modules/fzf-buffer.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/fzf-modules/fzf-buffer.kak b/rc/fzf-modules/fzf-buffer.kak index c3064d4..bf431ed 100644 --- a/rc/fzf-modules/fzf-buffer.kak +++ b/rc/fzf-modules/fzf-buffer.kak @@ -12,6 +12,6 @@ map global fzf -docstring "open buffer" 'b' ': fzf-buffer' define-command -hidden fzf-buffer %{ evaluate-commands %sh{ printf "%s\n" "info -title %{fzf buffer} %{Set buffer to edit in current client.}" - buffers=$(printf "%s\n" "$kak_buflist" | sed "s/^'//;s/'$//;s/' '/\n/g") + buffers=$(printf "%s\n" "$kak_buflist" | sed "s/^'//;s/'$/\n/;s/' '/\n/g") printf "%s\n" "fzf %{buffer} %{printf \"%s\n\" \"$buffers\"}" }}