1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 01:17:59 +00:00
prezto/modules/screen/README.md
Indrajit Raychaudhuri 1ff9421f7b general: Update documentation better qualifying runcom paths
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.

Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.

While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
2021-05-21 12:31:02 -05:00

1.0 KiB

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 when launching Zsh in a local terminal, add the following line to ${ZDOTDIR:-$HOME}/.zpreztorc:

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

To enable this feature when launching Zsh in a SSH connection, add the following line to ${ZDOTDIR:-$HOME}/.zpreztorc:

zstyle ':prezto:module:screen:auto-start' 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.