Compare commits
2 commits
8d04d9c649
...
5d3515f9a5
Author | SHA1 | Date | |
---|---|---|---|
5d3515f9a5 | |||
13dce0eae8 |
2 changed files with 5 additions and 1 deletions
|
@ -32,9 +32,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
send_to_jupyter() {
|
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
|
pwd >> /tmp/rjh
|
||||||
zellij action write 29 25
|
zellij action write 29 25
|
||||||
|
zellij action write 17
|
||||||
cat | just send
|
cat | just send
|
||||||
}
|
}
|
||||||
send_to_jupyter
|
send_to_jupyter
|
||||||
|
|
3
justfile
3
justfile
|
@ -9,3 +9,6 @@ test:
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|
||||||
|
clean:
|
||||||
|
sudo nix-collect-garbage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue