Skip to content

Instantly share code, notes, and snippets.

@shdblowers
Created December 11, 2019 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shdblowers/2d68906f479fa9f9cf28bc0679863218 to your computer and use it in GitHub Desktop.
Save shdblowers/2d68906f479fa9f9cf28bc0679863218 to your computer and use it in GitHub Desktop.
Start tmux on shell start
tmux ls && read tmux_session && tmux attach -t ${tmux_session:-default} || tmux new -s ${tmux_session:-default}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment