From c90c60ad83880e43d06acb192bbeda832cd8c42a Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Mon, 24 Sep 2018 13:34:00 +0300 Subject: [PATCH] fix error message when executable used to provide list isn't installed --- rc/fzf.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/fzf.kak b/rc/fzf.kak index a2ceea8..8179bdc 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -109,7 +109,7 @@ define-command -hidden fzf -params 2 %{ evaluate-commands %sh{ fi items_executable=$(echo $items_command | awk '{print $1}') if [ -z $(command -v $items_executable) ]; then - eval echo fail "\'$items_executable' executable not found. Is it installed?" + echo "fail \'$items_executable' executable not found" exit fi echo "echo eval -client $kak_client \"$callback\" | kak -p $kak_session" > $exec