remove escaping hell
This commit is contained in:
parent
f4136d7a74
commit
ffd12b303e
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ define-command -hidden fzf-tag -params ..1 %{ evaluate-commands %sh{
|
||||||
|
|
||||||
if [ ! -z "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
mode=$(echo "$additional_message" | grep "<a-$1>:" | awk '{$1=""; print}' | sed "s/\(.*\)/:\1/")
|
mode=$(echo "$additional_message" | grep "<a-$1>:" | 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
|
else
|
||||||
cmd="cd $path; readtags -l | cut -f1"
|
cmd="cd $path; readtags -l | cut -f1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue