From 4801ee22a20a788cad1d41d5aa68c5ec48af6f37 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Tue, 15 Jul 2014 12:48:03 +0200 Subject: [PATCH] source all .kak in autoload/ --- share/kak/kakrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/kak/kakrc b/share/kak/kakrc index 10faf5c4..2e93a925 100644 --- a/share/kak/kakrc +++ b/share/kak/kakrc @@ -24,7 +24,7 @@ def -shell-params runtime %{ %sh{ localconfdir="$HOME/.config/kak" fi if [ -d "${localconfdir}/autoload" ]; then - for rcfile in ${localconfdir}/autoload/*; do + for rcfile in ${localconfdir}/autoload/*.kak; do echo "try %{ source '${rcfile}' } catch %{ }"; done fi