Tmux : Fix tda to detach only from current session.
This commit is contained in:
parent
026fd33824
commit
4a8c1dd678
|
@ -1,5 +1,5 @@
|
|||
# Generate a markdown file with all the help info.
|
||||
# Outputs to `~/.doc/bash.md`.
|
||||
# Outputs to `~/.doc/Bash.md`.
|
||||
function doc_bash() {
|
||||
local IFS=$'\n'
|
||||
local file="${HOME}/.doc/Bash.md"
|
||||
|
|
|
@ -20,7 +20,7 @@ function td() {
|
|||
|
||||
# Detach all other tmux clients.
|
||||
function tda() {
|
||||
tmux detach-client -a
|
||||
tmux detach-client -s $(tmux display-message -p '#S')
|
||||
}
|
||||
|
||||
# List running sessions.
|
||||
|
|
Reference in a new issue