From 11276ffa66a2da95548f4c15893ce79476dfcefa Mon Sep 17 00:00:00 2001 From: Enrico Lumetti Date: Thu, 10 Dec 2015 14:35:53 +0100 Subject: [PATCH 2/3] Report debug information on failed autoloading --- share/kak/kakrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/kak/kakrc b/share/kak/kakrc index 3c49bd93..06692034 100644 --- a/share/kak/kakrc +++ b/share/kak/kakrc @@ -36,7 +36,7 @@ def -params 1 -docstring "colorscheme : enable named colorscheme" \ autoload() { dir=$1 for rcfile in ${dir}/*.kak; do - echo "try %{ source '${rcfile}' } catch %{ }"; + echo "try %{ source '${rcfile}' } catch %{ echo -debug Autoload: could not load '${rcfile}' }"; done for subdir in ${dir}/*; do if [ -d "$subdir" ]; then From f9d1ef830f7c79e48ff72fdca6fbd9c94dce5f85 Mon Sep 17 00:00:00 2001 From: Enrico Lumetti Date: Fri, 11 Dec 2015 01:48:13 +0100 Subject: [PATCH 3/3] Remove deprecated userconfig rule --- src/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Makefile b/src/Makefile index 2fa82c8d..d74bf368 100644 --- a/src/Makefile +++ b/src/Makefile @@ -72,10 +72,6 @@ clean: XDG_CONFIG_HOME ?= $(HOME)/.config -userconfig: - mkdir -p $(XDG_CONFIG_HOME)/kak/autoload - ln -s $(CURDIR)/../rc/*.kak $(XDG_CONFIG_HOME)/kak/autoload/ - install: kak mkdir -p $(bindir) install -m 0755 kak $(bindir) @@ -89,4 +85,4 @@ install: kak install -m 0644 ../README.asciidoc $(docdir) install -m 0644 ../doc/* $(docdir) -.PHONY: tags userconfig install +.PHONY: tags install