# local-config
evaluate-commands %sh{
    cwd=$(pwd)
    while [ $cwd != "/" ]; do
        path="$cwd/.local.kak"
        if [ -f $path ]; then
            printf "%s\n" "source $path"
            break
        fi
        cd ..
        cwd=$(pwd)
    done
}
