tmux/tmk
This commit is contained in:
parent
2e4e827830
commit
8a54f3a0d5
1 changed files with 11 additions and 0 deletions
11
sh/tmux.sh
11
sh/tmux.sh
|
@ -2,6 +2,17 @@
|
||||||
# │ tmux │
|
# │ tmux │
|
||||||
# ╰──────╯
|
# ╰──────╯
|
||||||
|
|
||||||
|
# kill
|
||||||
|
#= tmk
|
||||||
|
rwx_tmux_kill() {
|
||||||
|
local server="${1}"
|
||||||
|
if [ "${server}" ]; then
|
||||||
|
tmux -L "${server}" kill-server 2>"/dev/null"
|
||||||
|
else
|
||||||
|
rwx_tmux_list
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# list
|
# list
|
||||||
#= tml
|
#= tml
|
||||||
rwx_tmux_list() {
|
rwx_tmux_list() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue