Merge branch 'master' of github.com:jamesm-sitegen/oh-my-zsh

* 'master' of github.com:jamesm-sitegen/oh-my-zsh:
  Identify why this hangs.
This commit is contained in:
James McGlashan 2011-12-04 01:09:14 +11:00
commit 03b56396bf

View file

@ -35,7 +35,8 @@ if (( $+commands[tmux] )); then
(( $+commands[$cmd] )) || return 127 (( $+commands[$cmd] )) || return 127
# start the command # start the command
if ! tmux has -t $1 2>/dev/null; then # if ! tmux has -t $1 2>/dev/null; then
if ! tmux has -t $1; then
TMUX= tmux new -ds $1 ${cmd-$2} TMUX= tmux new -ds $1 ${cmd-$2}
fi fi