prezto/modules/screen
Colin Hebert 75682fb87f Disable auto-start for multiplexers with SSH
Do not automatically start multiplexers if the machine is access with a
remote connection (SSH).
This avoids having the 'remote' screen or tmux session embedded in the local
session
2012-09-16 15:39:16 +02:00
..
init.zsh Disable auto-start for multiplexers with SSH 2012-09-16 15:39:16 +02:00
README.md Disable auto-start for multiplexers with SSH 2012-09-16 15:39:16 +02:00

GNU Screen

Defines GNU Screen aliases and provides for auto launching it at start-up.

Settings

Auto-Start

Starts a GNU Screen session automatically when Zsh is launched.

To enable this feature, add the following line to zpreztorc:

zstyle ':prezto:module:screen' auto-start 'yes'

SSH and auto-start

To avoid having screen sessions inside screen sessions, auto-start is disabled for SSH access.

It is possible to re-enable auto-start for SSH sessions with

zstyle ':prezto:module:screen' remote 'yes'

Aliases

  • scr is short for screen.
  • scrl lists sessions/socket directory.
  • scrn starts a new session.
  • scrr attaches to a session if one exists or start a new one.

Authors

The authors of this module should be contacted via the issue tracker.