fix error message when executable used to provide list isn't installed
This commit is contained in:
parent
37016b0b04
commit
c90c60ad83
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ define-command -hidden fzf -params 2 %{ evaluate-commands %sh{
|
||||||
fi
|
fi
|
||||||
items_executable=$(echo $items_command | awk '{print $1}')
|
items_executable=$(echo $items_command | awk '{print $1}')
|
||||||
if [ -z $(command -v $items_executable) ]; then
|
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
|
exit
|
||||||
fi
|
fi
|
||||||
echo "echo eval -client $kak_client \"$callback\" | kak -p $kak_session" > $exec
|
echo "echo eval -client $kak_client \"$callback\" | kak -p $kak_session" > $exec
|
||||||
|
|
Loading…
Reference in a new issue