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
|
||||
then
|
||||
if systemctl -q --user is-active tmux; then
|
||||
exec tmux -N -L "$USER" new
|
||||
exec tmux -N -L "$USER" new-session -A
|
||||
else
|
||||
exec tmux
|
||||
exec tmux new-session -A
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@ -8,9 +8,9 @@ if \
|
||||
command -v tmux &>/dev/null
|
||||
then
|
||||
if systemctl -q --user is-active tmux; then
|
||||
exec tmux -N -L "$USER" new
|
||||
exec tmux -N -L "$USER" new-session -A
|
||||
else
|
||||
exec tmux
|
||||
exec tmux new-session -A
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user