dev: automated commit - 2025-12-01 09:33:02

This commit is contained in:
Mariano Z. 2025-12-01 09:33:02 -03:00
parent 0aface6777
commit 29eb7780bd
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
5 changed files with 435 additions and 432 deletions

View file

@ -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