change the / in the pwd for the json file to -

This commit is contained in:
Lillian Violet 2024-10-23 17:42:51 +02:00
parent b65674b143
commit 990596e767

View file

@ -34,7 +34,7 @@
function send_to_jupyter() {
if $(new); then
zellij run -f -n "jupyter console" -- direnv exec . jupyter console --kernel="$1" -f="/tmp/rjh-$(pwd).json" --ZMQTerminalInteractiveShell.include_other_output=True --ZMQTerminalInteractiveShell.other_output_prefix=\'\'
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=\'\'
pwd >> /tmp/rjh
fi
zellij write 29 25 # send ctr + w