Skip to content

Instantly share code, notes, and snippets.

@mijndert
Created July 31, 2020 18:57
Show Gist options
  • Select an option

  • Save mijndert/37c063f990312b727542f1eedee2ed1d to your computer and use it in GitHub Desktop.

Select an option

Save mijndert/37c063f990312b727542f1eedee2ed1d to your computer and use it in GitHub Desktop.

Revisions

  1. mijndert created this gist Jul 31, 2020.
    3 changes: 3 additions & 0 deletions restore tmux session iterm2
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    profiles > general > send text at start

    tmux ls && read tmux_session && tmux attach -t ${tmux_session:-default} || tmux new -s ${tmux_session:-default}