From 13dce0eae81b1cf42b3314a99912144d1d446dec Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 25 Oct 2024 13:20:35 +0200 Subject: [PATCH 1/2] add clean command to just --- justfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/justfile b/justfile index b0aad0e..f349229 100644 --- a/justfile +++ b/justfile @@ -9,3 +9,6 @@ test: update: nix flake update + +clean: + sudo nix-collect-garbage From 5d3515f9a5fa99947d07cded14f0aa54e8d79bcc Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 25 Oct 2024 13:21:02 +0200 Subject: [PATCH 2/2] still not working but some updates to the helix jupyter script --- home-manager/shared/shell/helix/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/shared/shell/helix/default.nix b/home-manager/shared/shell/helix/default.nix index 32a2672..a50bfd2 100644 --- a/home-manager/shared/shell/helix/default.nix +++ b/home-manager/shared/shell/helix/default.nix @@ -32,9 +32,10 @@ } send_to_jupyter() { - is_new && zellij run -f -n "jupyter console" -- direnv exec . jupyter console --kernel="$1" -f="/tmp/rjh-$(pwd | tr \"/\" -).json" --ZMQTerminalInteractiveShell.include_other_output=True --ZMQTerminalInteractiveShell.other_output_prefix=''' && zellij action write 29 25 + is_new && zellij run -f -n "jupyter console" -- direnv exec . jupyter console --kernel="$1" -f="/tmp/rjh-$(pwd | tr \"/\" -).json" --ZMQTerminalInteractiveShell.include_other_output=True --ZMQTerminalInteractiveShell.other_output_prefix=''' && zellij action write 29 25 && zellij action write 17 pwd >> /tmp/rjh zellij action write 29 25 + zellij action write 17 cat | just send } send_to_jupyter