Created
November 12, 2013 23:04
-
-
Save kingbin/7440442 to your computer and use it in GitHub Desktop.
Attach to tmux session named the same as current directory.
thanks thoughtbot!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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