dev: automated commit - 2025-12-01 09:33:02
This commit is contained in:
parent
0aface6777
commit
29eb7780bd
5 changed files with 435 additions and 432 deletions
|
|
@ -4,11 +4,7 @@ if [ -z "$TMUX" ]; then
|
|||
elif [ -z "$DISPLAY" ]; then
|
||||
:
|
||||
else
|
||||
if command -v timeout >/dev/null 2>&1; then
|
||||
if timeout 0.1 sh -c 'tmux ls >/dev/null 2>&1' 2>/dev/null; then
|
||||
tmux attach -t default 2>/dev/null || tmux new -s default
|
||||
fi
|
||||
elif tmux ls >/dev/null 2>&1; then
|
||||
if command -v tmux >/dev/null 2>&1; then
|
||||
tmux attach -t default 2>/dev/null || tmux new -s default
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue