diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2019-10-29 09:51:16 +0100 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2019-10-29 09:51:16 +0100 |
| commit | e482b3f14c0dbb0748a0d8e2023eefee69deb936 (patch) | |
| tree | c443b639e8bf324182f6559404d1938f105b03ac | |
| parent | ec31d839724cfd0f8431c04509f1f1d2b5fa1290 (diff) | |
share kakrc: Use `fail` in the `:colorscheme` command
When an invalid colorscheme is selected from the user configuration
file, the editor doesn't report any errors at startup unless the
`fail` command is used.
| -rw-r--r-- | share/kak/kakrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/kak/kakrc b/share/kak/kakrc index cd70642b..d01224e3 100644 --- a/share/kak/kakrc +++ b/share/kak/kakrc @@ -21,7 +21,7 @@ def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \ if [ -n "${filename}" ]; then printf 'source %%{%s}' "${filename}" else - echo "echo -markup '{Error}No such colorscheme'" + echo "fail 'No such colorscheme'" fi }} |
