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