Skip to content

Instantly share code, notes, and snippets.

@kingbin
Created November 12, 2013 23:04
Show Gist options
  • Save kingbin/7440442 to your computer and use it in GitHub Desktop.
Save kingbin/7440442 to your computer and use it in GitHub Desktop.
Attach to tmux session named the same as current directory. thanks thoughtbot!
#!/bin/sh
#
# Attach to tmux session named the same as current directory.
#
tmux attach -t `basename $PWD`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment