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") {