1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-08-30 19:09:08 +00:00

Increase control over multiplexer auto-start

Setting the auto-start 'remote' and 'local' zstyles for the screen and
tmux modules to 'true' automatically starts a session in SSH connections
and in local terminals respectively.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
This commit is contained in:
Georges Discry
2013-01-24 14:54:55 +01:00
committed by Sorin Ionescu
parent 61f3adcdd1
commit 07686fad38
5 changed files with 40 additions and 12 deletions

View File

@@ -10,9 +10,15 @@ Settings
Starts a GNU Screen session automatically when Zsh is launched.
To enable this feature, add the following line to *zpreztorc*:
To enable this feature when launching Zsh in a local terminal, add the
following line to *zpreztorc*:
zstyle ':prezto:module:screen' auto-start 'yes'
zstyle ':prezto:module:screen:auto-start' local 'yes'
To enable this feature when launching Zsh in a SSH connection, add the
following line to *zpreztorc*:
zstyle ':prezto:module:screen:auto-start' remote 'yes'
Aliases
-------
@@ -28,6 +34,7 @@ Authors
*The authors of this module should be contacted via the [issue tracker][2].*
- [Sorin Ionescu](https://github.com/sorin-ionescu)
- [Georges Discry](https://github.com/gdiscry)
[1]: http://www.gnu.org/software/screen/
[2]: https://github.com/sorin-ionescu/prezto/issues