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/
This commit is contained in:
parent
f5dc48659f
commit
48873f79cb
1 changed files with 1 additions and 2 deletions
3
bin/tat
3
bin/tat
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Attach or create tmux session named the same as current directory.
|
||||
#
|
||||
|
||||
tmux new-session -As `basename $PWD`
|
||||
tmux new-session -As "$(basename "$PWD" | tr . -)"
|
||||
|
|
Loading…
Add table
Reference in a new issue