1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 03:01:12 +00:00
prezto/modules/screen
Indrajit Raychaudhuri 8ee9d1bbfe general: Documentation update for zstyle based alias skipping support
Add documentation to surface the `zstyle` based alias skipping.
2023-05-17 02:39:09 -05:00
..
init.zsh Add zstyle to skip aliases for additional modules 2023-04-13 09:33:48 -07:00
README.md general: Documentation update for zstyle based alias skipping support 2023-05-17 02:39:09 -05: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 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

Aliases are enabled by default. To disable them, add the following to ${ZDOTDIR:-$HOME}/.zpreztorc.

zstyle ':prezto:module:screen:alias' skip 'yes'
  • 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.