Skip to content

Instantly share code, notes, and snippets.

@david-macleod
Created May 9, 2018 11:28
Show Gist options
  • Save david-macleod/5eeb3c27d9b55f6cc60b41e0197dc5c5 to your computer and use it in GitHub Desktop.
Save david-macleod/5eeb3c27d9b55f6cc60b41e0197dc5c5 to your computer and use it in GitHub Desktop.
jupyter-tmux
if [[ -z "$TMUX" ]]; then
tmux new -d -s jn
tmux send -t jn "jupyter notebook" ENTER
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment