1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-23 03:21:55 +03:00

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 if [ -n "${filename}" ]; then
printf 'source %%{%s}' "${filename}" printf 'source %%{%s}' "${filename}"
else else
echo "fail 'No such colorscheme'" echo "fail 'No such colorscheme ${1}.kak'"
fi fi
}} }}