diff options
| author | Maxim Baz <git@maximbaz.com> | 2018-07-08 15:18:31 +0200 |
|---|---|---|
| committer | Maxim Baz <git@maximbaz.com> | 2018-07-08 16:03:00 +0200 |
| commit | 25b49b9ae11932667cb32a1e483ed1d4293ca1d2 (patch) | |
| tree | 17f2167e5bd2a6d921f4b5eb84e97ed0e4d61469 /share | |
| parent | 2659912220251d3db9156ac39912f92d9aca878d (diff) | |
Improve kakoune startup time by 33%
Diffstat (limited to 'share')
| -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 03ef7139..b6461ec1 100644 --- a/share/kak/kakrc +++ b/share/kak/kakrc @@ -28,7 +28,7 @@ def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \ evaluate-commands %sh{ autoload_directory() { find -L "$1" -type f -name '*\.kak' \ - -exec printf 'try %%{ source "%s" } catch %%{ echo -debug Autoload: could not load "%s" }\n' '{}' '{}' \; + | sed 's/.*/try %{ source "&" } catch %{ echo -debug Autoload: could not load "&" }/' } echo "colorscheme default" |
