tmux: don't attach to scratch session
This commit is contained in:
parent
9103a582d6
commit
d5fdda309d
|
@ -13,7 +13,7 @@ super + apostrophe
|
||||||
# Attach to a detached session. If none is available create a new one, rather
|
# Attach to a detached session. If none is available create a new one, rather
|
||||||
# than attach to one that is already attached to elsewhere.
|
# than attach to one that is already attached to elsewhere.
|
||||||
super + Return
|
super + Return
|
||||||
xst -e bash -c "(tmux ls | grep -vq attached && tmux at) || tmux"
|
xst -e bash -c "(tmux ls | grep -qEv 'attached|scratch' && tmux at) || tmux"
|
||||||
|
|
||||||
ctrl + super + Return
|
ctrl + super + Return
|
||||||
xst
|
xst
|
||||||
|
|
Loading…
Reference in a new issue