edit(tmux): attach to sessions on start terminal
This commit is contained in:
parent
334641d263
commit
9e6630e4af
@ -8,9 +8,9 @@ if \
|
|||||||
command -v tmux &>/dev/null
|
command -v tmux &>/dev/null
|
||||||
then
|
then
|
||||||
if systemctl -q --user is-active tmux; then
|
if systemctl -q --user is-active tmux; then
|
||||||
exec tmux -N -L "$USER" new
|
exec tmux -N -L "$USER" new-session -A
|
||||||
else
|
else
|
||||||
exec tmux
|
exec tmux new-session -A
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -8,9 +8,9 @@ if \
|
|||||||
command -v tmux &>/dev/null
|
command -v tmux &>/dev/null
|
||||||
then
|
then
|
||||||
if systemctl -q --user is-active tmux; then
|
if systemctl -q --user is-active tmux; then
|
||||||
exec tmux -N -L "$USER" new
|
exec tmux -N -L "$USER" new-session -A
|
||||||
else
|
else
|
||||||
exec tmux
|
exec tmux new-session -A
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user