colorscheme: improve error message if a colorscheme was not found.

This commit is contained in:
Markus F.X.J. Oberhumer 2021-05-02 11:21:09 +02:00
parent 47c0d20388
commit 411e31ffdf

View File

@ -22,7 +22,7 @@ def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \
if [ -n "${filename}" ]; then
printf 'source %%{%s}' "${filename}"
else
echo "fail 'No such colorscheme'"
echo "fail 'No such colorscheme ${1}.kak'"
fi
}}