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