Tmux : Fix tda to detach only from current session.

This commit is contained in:
Dmitry Voronin 2023-12-29 19:35:52 +03:00
parent 026fd33824
commit 4a8c1dd678
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# Generate a markdown file with all the help info. # Generate a markdown file with all the help info.
# Outputs to `~/.doc/bash.md`. # Outputs to `~/.doc/Bash.md`.
function doc_bash() { function doc_bash() {
local IFS=$'\n' local IFS=$'\n'
local file="${HOME}/.doc/Bash.md" local file="${HOME}/.doc/Bash.md"

View file

@ -20,7 +20,7 @@ function td() {
# Detach all other tmux clients. # Detach all other tmux clients.
function tda() { function tda() {
tmux detach-client -a tmux detach-client -s $(tmux display-message -p '#S')
} }
# List running sessions. # List running sessions.