tmux : add tda to detach all other clients.
This commit is contained in:
parent
982e79e595
commit
922e61b482
|
@ -18,6 +18,11 @@ function td() {
|
||||||
tmux detach-client
|
tmux detach-client
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Detach all other tmux clients.
|
||||||
|
function tda() {
|
||||||
|
tmux detach-client -a
|
||||||
|
}
|
||||||
|
|
||||||
# List running sessions.
|
# List running sessions.
|
||||||
function tl() {
|
function tl() {
|
||||||
tmux list-sessions
|
tmux list-sessions
|
||||||
|
|
|
@ -309,6 +309,7 @@ Command|Description
|
||||||
---|---
|
---|---
|
||||||
`ta [NAME]`|Create/attach to named session. By default uses name `main`.
|
`ta [NAME]`|Create/attach to named session. By default uses name `main`.
|
||||||
`td`|Detach from running session.
|
`td`|Detach from running session.
|
||||||
|
`tda`|Detach all other tmux clients.
|
||||||
`tl`|List running sessions.
|
`tl`|List running sessions.
|
||||||
`trn [NAME]`|Rename current session. Uses current dir name by default.
|
`trn [NAME]`|Rename current session. Uses current dir name by default.
|
||||||
`tn [NAME]`|Assign name to window. Uses current dir name by default.
|
`tn [NAME]`|Assign name to window. Uses current dir name by default.
|
||||||
|
|
Reference in a new issue