diff --git a/src/kakrc b/src/kakrc index e5ed5184..e61ab85a 100644 --- a/src/kakrc +++ b/src/kakrc @@ -11,14 +11,14 @@ def -shell-params runtime %{ %sh{ else localconfdir="$HOME/.config/kak" fi - if [[ -f "${localconfdir}/kakrc" ]]; then - echo "source '${localconfdir}/kakrc'" - fi if [[ -d "${localconfdir}/autoload" ]]; then for rcfile in ${localconfdir}/autoload/*; do echo "try %{ source '${rcfile}' } catch %{ }"; done fi + if [[ -f "${localconfdir}/kakrc" ]]; then + echo "source '${localconfdir}/kakrc'" + fi } # define color scheme