#### tmux
##### Nested sessions
**Note** when used with [[Alacritty]], I'm using the following at the top of my client `~/.tmux.conf`
```conf
set -g default-terminal "alacritty"
```
When ssh-ing to a linux host, the jumpbox must have one of the following in the `~/.bashrc` or the jumpbox host inherits `TERM=alacritty` from the ssh session.
```bash
export TERM=xterm-256color
# or
export TERM=screen-256color
```
##### Config
[tmux-config](https://github.com/samoshkin/tmux-config)
##### Oh shoot! I started this process outside of tmux, but now I need to go away and it's been running a while, what can I do?
```bash
# [Ctrl-z] on the process
bg
echo $! # get the PID (1608)
disown
tmux
reptyr 1608
```
![[MacOS#Touch ID with tmux]]