source all .kak in autoload/

This commit is contained in:
Alex Leferry 2 2014-07-15 12:48:03 +02:00 committed by Maxime Coste
parent 50abc18c8e
commit 4801ee22a2

View File

@ -24,7 +24,7 @@ def -shell-params runtime %{ %sh{
localconfdir="$HOME/.config/kak" localconfdir="$HOME/.config/kak"
fi fi
if [ -d "${localconfdir}/autoload" ]; then if [ -d "${localconfdir}/autoload" ]; then
for rcfile in ${localconfdir}/autoload/*; do for rcfile in ${localconfdir}/autoload/*.kak; do
echo "try %{ source '${rcfile}' } catch %{ }"; echo "try %{ source '${rcfile}' } catch %{ }";
done done
fi fi