mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-14 22:21:13 +00:00
07686fad38
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>
42 lines
1017 B
Markdown
42 lines
1017 B
Markdown
GNU Screen
|
|
==========
|
|
|
|
Defines [GNU Screen][1] 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 *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 *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][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
|
|
|