aboutsummaryrefslogtreecommitdiff
path: root/scripts/tmux_start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tmux_start.sh')
-rwxr-xr-xscripts/tmux_start.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tmux_start.sh b/scripts/tmux_start.sh
index bbf33c5..924cf78 100755
--- a/scripts/tmux_start.sh
+++ b/scripts/tmux_start.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#from http://www.huyng.com/posts/productivity-boost-with-tmux-iterm2-workspaces/
export PATH=$PATH:/usr/local/bin
@@ -31,7 +31,7 @@ do
break
;;
*)
- tmux attach-session -t $opt
+ tmux attach-session -t "$opt"
break
;;
esac