Merge remote-tracking branch 'lenormf/fix-colorscheme-fail'

This commit is contained in:
Maxime Coste 2019-11-07 20:13:47 +11:00
commit bd81dcc4c3

View File

@ -21,7 +21,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 "echo -markup '{Error}No such colorscheme'" echo "fail 'No such colorscheme'"
fi fi
}} }}