tmux concept changed

Bu işleme şunda yer alıyor:
Dirk Alders 2022-10-10 13:48:07 +02:00
ebeveyn 7fd8bc42a4
işleme 571bbdfcbe
2 değiştirilmiş dosya ile 7 ekleme ve 4 silme

Dosyayı Görüntüle

@ -1,3 +0,0 @@
#!/bin/sh
#
tmux attach-session -t local || tmux new-session -s local

Dosyayı Görüntüle

@ -1,3 +1,9 @@
#!/bin/sh
#
tmux attach-session -t default_ssh || tmux new-session -s default_ssh
SESSION=$(tmux display-message -p '#S' 2> /dev/null)
if [ "$SESSION" = "" ]; then
tmux attach-session -t default_ssh || tmux new-session -s default_ssh
fi