Skip to content

Instantly share code, notes, and snippets.

@giulioungaretti
Created January 27, 2018 08:44
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 giulioungaretti/a9451746fbeb40ed5493b9abc958cff5 to your computer and use it in GitHub Desktop.
Save giulioungaretti/a9451746fbeb40ed5493b9abc958cff5 to your computer and use it in GitHub Desktop.
tmux session attach
function ta (){
local NEW_SESSION=$(uuidgen)
tmux new-session -t $1 -s $NEW_SESSION ; tmux kill-session -t $NEW_SESSION
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment