kak: clear old sessions before reloading

This commit is contained in:
Leonardo Eugênio 2023-01-11 20:37:10 -03:00
parent 5d55fb3e17
commit 38932c22d4

View file

@ -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
'';
};