diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-05-07 07:29:52 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-07-05 07:54:28 +1000 |
| commit | ec1696960982464ead78efcaa0406c71d8acc12d (patch) | |
| tree | edca1ef620e4472697971b30e71d5ff343c96759 /colors/zenburn.kak | |
| parent | 3b9818c10b6f3c6fd19aa90115c4c3e14dc2d236 (diff) | |
Do not reparse %sh{...} strings
Automatic reparsing of %sh{...}, while convenient in many cases,
can be surprising as well, and can lead to security problems:
'echo %sh{ printf "foo\necho bar" }' runs 'echo foo', then 'echo bar'.
we make this danger explicit, and we fix the 'nop %sh{...}' pattern.
To reparse %sh{...} strings, they can be passed to evaluate-commands,
which has been fixed to work in every cases where %sh{...} reparsing
was used..
Diffstat (limited to 'colors/zenburn.kak')
| -rw-r--r-- | colors/zenburn.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colors/zenburn.kak b/colors/zenburn.kak index ac7f2ab9..c98828fa 100644 --- a/colors/zenburn.kak +++ b/colors/zenburn.kak @@ -1,6 +1,6 @@ # zenburn theme -%sh{ +evaluate-commands %sh{ # define some named colors zentext="rgb:cfcfcf" zenselectionbg="rgb:3f7fcc" |
