mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Identify why this hangs.
This commit is contained in:
parent
15892d6e76
commit
f8da14421c
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue