mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(kb/tmux): create dedicated sessions
This commit is contained in:
@@ -28,6 +28,12 @@ set -g renumber-windows on # renumber all windows when a window is closed
|
||||
|
||||
https://github.com/tmux/tmux/wiki/
|
||||
|
||||
```sh
|
||||
# Dedicate sessions to commands.
|
||||
# Attach to the session if it already exists, or create it otherwise.
|
||||
tmux new-session -As 'gitlab-upgrade' "dnf update 'gitlab-ee'"
|
||||
```
|
||||
|
||||
```sh
|
||||
# Operate on a background session from another one.
|
||||
tmux new-session -d -S 'session-name'
|
||||
|
||||
Reference in New Issue
Block a user