Skip to content

Commit

Permalink
tat: create tmux session if nonexistent
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdustan authored and Greg Lazarev committed Jun 16, 2014
1 parent b9d24c0 commit 7c4a093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/tat
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Attach to tmux session named the same as current directory.
# Attach or create tmux session named the same as current directory.
#

tmux attach -t `basename $PWD`
tmux new-session -As `basename $PWD`

0 comments on commit 7c4a093

Please sign in to comment.