source user kakrc after autoloads, so that user can override options
This commit is contained in:
parent
6ab3d27d3f
commit
c000ca2220
|
@ -11,14 +11,14 @@ def -shell-params runtime %{ %sh{
|
||||||
else
|
else
|
||||||
localconfdir="$HOME/.config/kak"
|
localconfdir="$HOME/.config/kak"
|
||||||
fi
|
fi
|
||||||
if [[ -f "${localconfdir}/kakrc" ]]; then
|
|
||||||
echo "source '${localconfdir}/kakrc'"
|
|
||||||
fi
|
|
||||||
if [[ -d "${localconfdir}/autoload" ]]; then
|
if [[ -d "${localconfdir}/autoload" ]]; then
|
||||||
for rcfile in ${localconfdir}/autoload/*; do
|
for rcfile in ${localconfdir}/autoload/*; do
|
||||||
echo "try %{ source '${rcfile}' } catch %{ }";
|
echo "try %{ source '${rcfile}' } catch %{ }";
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
if [[ -f "${localconfdir}/kakrc" ]]; then
|
||||||
|
echo "source '${localconfdir}/kakrc'"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# define color scheme
|
# define color scheme
|
||||||
|
|
Loading…
Reference in New Issue
Block a user