From 0ff17cd6df88755cda72438f5f43b0e4e29807d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 24 Jan 2023 10:08:28 -0300 Subject: [PATCH] kakoune: be more leanient on error checking during config reload --- user/kakoune.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/user/kakoune.nix b/user/kakoune.nix index 258fa6b..6407d9c 100644 --- a/user/kakoune.nix +++ b/user/kakoune.nix @@ -142,8 +142,9 @@ in { ]; home.activation = { update_kakoune = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - $DRY_RUN_CMD kak -clear - $DRY_RUN_CMD kak -l | xargs -r -n1 kak -e "config-source;quit" -ui dummy -c + $DRY_RUN_CMD kak -clear && + $DRY_RUN_CMD kak -l | xargs -r -n1 kak -e "config-source;quit" -ui dummy -c || + $DRY_RUN_CMD true ''; }; home.sessionVariables = lib.mkIf (editor == "kakoune") {