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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user