1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 08:09:25 +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

@ -91,8 +91,11 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Screen
#
# Auto start a session when Zsh is launched.
# zstyle ':prezto:module:screen' auto-start 'yes'
# Auto start a session when Zsh is launched in a local terminal.
# zstyle ':prezto:module:screen:auto-start' local 'yes'
# Auto start a session when Zsh is launched in a SSH connection.
# zstyle ':prezto:module:screen:auto-start' remote 'yes'
#
# SSH
@ -132,6 +135,9 @@ zstyle ':prezto:module:terminal' auto-title 'yes'
# Tmux
#
# Auto start a session when Zsh is launched.
# zstyle ':prezto:module:tmux' auto-start 'yes'
# Auto start a session when Zsh is launched in a local terminal.
# zstyle ':prezto:module:tmux:auto-start' local 'yes'
# Auto start a session when Zsh is launched in a SSH connection.
# zstyle ':prezto:module:tmux:auto-start' remote 'yes'