From bb76902ac0672b071b05e16dcbeaf9b51b1e124a Mon Sep 17 00:00:00 2001 From: Xavier Cambar Date: Tue, 18 Feb 2014 11:24:07 +0100 Subject: [PATCH] Clarifies tmux configuration of unattached sessions --- modules/tmux/README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/modules/tmux/README.md b/modules/tmux/README.md index 90b969bf..5901c7ce 100644 --- a/modules/tmux/README.md +++ b/modules/tmux/README.md @@ -23,14 +23,17 @@ following line to *zpreztorc*: In both cases, it will create a background session named _#Prezto_ and attach every new shell to it. -To control if the unattached sessions must be kept alive, set the -`destroy-unattached` option in your `.tmux.conf`: +__Note__: With `auto-start` enabled, you may want to control how multiple +sessions are managed. The `destroy-unattached` option of tmux controls if the +unattached sessions must be kept alive, making them available for later use. - ```shell - set-option -g destroy-unattached 'on' - # or - set-option -g destroy-unattached 'off' - ``` +This is configured in your `.tmux.conf`: + +```shell +set-option -g destroy-unattached 'on' +# or +set-option -g destroy-unattached 'off' +``` Aliases -------