change the / in the pwd for the json file to -
This commit is contained in:
parent
b65674b143
commit
990596e767
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
function send_to_jupyter() {
|
function send_to_jupyter() {
|
||||||
if $(new); then
|
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
|
pwd >> /tmp/rjh
|
||||||
fi
|
fi
|
||||||
zellij write 29 25 # send ctr + w
|
zellij write 29 25 # send ctr + w
|
||||||
|
|
Loading…
Reference in a new issue