Clarifies tmux configuration of unattached sessions

This commit is contained in:
Xavier Cambar 2014-02-18 11:24:07 +01:00
parent eb10329461
commit bb76902ac0

View file

@ -23,8 +23,11 @@ following line to *zpreztorc*:
In both cases, it will create a background session named _#Prezto_ and attach In both cases, it will create a background session named _#Prezto_ and attach
every new shell to it. every new shell to it.
To control if the unattached sessions must be kept alive, set the __Note__: With `auto-start` enabled, you may want to control how multiple
`destroy-unattached` option in your `.tmux.conf`: sessions are managed. The `destroy-unattached` option of tmux controls if the
unattached sessions must be kept alive, making them available for later use.
This is configured in your `.tmux.conf`:
```shell ```shell
set-option -g destroy-unattached 'on' set-option -g destroy-unattached 'on'