From f8da14421c6bf85ce949236c445aafa60181309a Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Fri, 2 Dec 2011 18:38:32 -0500 Subject: [PATCH] Identify why this hangs. --- plugins/tmux/tmux.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index 5e39f5792..dea9e4c9a 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -35,7 +35,8 @@ if (( $+commands[tmux] )); then (( $+commands[$cmd] )) || return 127 # 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} fi