scatterd-dotfiles/bin/tat
Ian C. Anderson 48873f79cb tat command now works in directories with periods
- Running `tat` in the robots.thoughtbot.com directory was throwing a
'bad session name' tmux error
- See http://sourceforge.net/p/tmux/tickets/109/
2014-07-22 20:58:15 -04:00

5 lines
133 B
Bash
Executable file

#!/bin/sh
#
# Attach or create tmux session named the same as current directory.
tmux new-session -As "$(basename "$PWD" | tr . -)"