This commit is contained in:
Marc Beninca 2025-07-27 20:58:18 +02:00
parent 68203259cf
commit bb961c1a52
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,2 @@
# handle tmux
#= tm
a__t_mux() {
tmux \
"${@}"
}

View file

@ -47,6 +47,13 @@ RWX_TMUX_USER_ROOT="#[fg=red]"
# │ tmux │ functions │
# ╰──────┴───────────╯
#| tmux
#= tm
rwx_tmux() {
tmux \
"${@}"
}
# attach
#= tma
rwx_tmux_attach() {
@ -72,6 +79,7 @@ rwx_tmux_kill() {
# list
#= tml
rwx_tmux_list() {
# TODO use functions
local user_id
user_id="$(id --user)"
ls "/tmp/tmux-${user_id}"