kakrc: define colorscheme before sourcing user config

This commit is contained in:
Maxime Coste 2013-03-28 18:38:41 +01:00
parent 08873a779a
commit deb502cb40

View File

@ -1,3 +1,15 @@
# define color scheme
colalias value red
colalias type yellow
colalias identifier cyan
colalias string magenta
colalias error default,red
colalias keyword blue
colalias operator yellow
colalias attribute green
colalias comment cyan
colalias macro magenta
def -shell-params runtime %{ %sh{ def -shell-params runtime %{ %sh{
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
echo "source '${kak_runtime}/$1'" echo "source '${kak_runtime}/$1'"
@ -20,15 +32,3 @@ def -shell-params runtime %{ %sh{
echo "source '${localconfdir}/kakrc'" echo "source '${localconfdir}/kakrc'"
fi fi
} }
# define color scheme
colalias value red
colalias type yellow
colalias identifier cyan
colalias string magenta
colalias error default,red
colalias keyword blue
colalias operator yellow
colalias attribute green
colalias comment cyan
colalias macro magenta