From ffd12b303e6bf879bb83f5876d9a9d2db2f9454e Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 21 Nov 2018 22:38:39 +0300 Subject: [PATCH] remove escaping hell --- rc/fzf-modules/fzf-ctags.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/fzf-modules/fzf-ctags.kak b/rc/fzf-modules/fzf-ctags.kak index 025831d..4da1c7d 100644 --- a/rc/fzf-modules/fzf-ctags.kak +++ b/rc/fzf-modules/fzf-ctags.kak @@ -1214,7 +1214,7 @@ define-command -hidden fzf-tag -params ..1 %{ evaluate-commands %sh{ if [ ! -z "$1" ]; then mode=$(echo "$additional_message" | grep ":" | awk '{$1=""; print}' | sed "s/\(.*\)/:\1/") - cmd="cd $path; readtags -Q '(eq? \$kind $1)' -l | cut -f1" + cmd="cd $path; readtags -Q '(eq? \$kind \"$1\")' -l | cut -f1" else cmd="cd $path; readtags -l | cut -f1" fi