From 38932c22d4a2a12361c31a88d898cda4317553a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Wed, 11 Jan 2023 20:37:10 -0300 Subject: [PATCH] kak: clear old sessions before reloading --- user/kakoune.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/user/kakoune.nix b/user/kakoune.nix index e415a0b..fa475ad 100644 --- a/user/kakoune.nix +++ b/user/kakoune.nix @@ -133,6 +133,7 @@ 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 ''; };