2021-05-04 01:59:31 +00:00
|
|
|
# GNU Screen
|
2012-04-04 12:47:24 +00:00
|
|
|
|
|
|
|
Defines [GNU Screen][1] aliases and provides for auto launching it at start-up.
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Settings
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2012-06-14 22:01:01 +00:00
|
|
|
### Auto-Start
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2012-06-02 21:17:12 +00:00
|
|
|
Starts a GNU Screen session automatically when Zsh is launched.
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
To enable this feature when launching Zsh in a local terminal, add the following
|
2021-05-05 17:59:01 +00:00
|
|
|
line to _`${ZDOTDIR:-$HOME}/.zpreztorc`_:
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2017-07-21 01:07:29 +00:00
|
|
|
```sh
|
|
|
|
zstyle ':prezto:module:screen:auto-start' local 'yes'
|
|
|
|
```
|
2013-01-24 13:54:55 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
To enable this feature when launching Zsh in a SSH connection, add the following
|
2021-05-05 17:59:01 +00:00
|
|
|
line to _`${ZDOTDIR:-$HOME}/.zpreztorc`_:
|
2013-01-24 13:54:55 +00:00
|
|
|
|
2017-07-21 01:07:29 +00:00
|
|
|
```sh
|
|
|
|
zstyle ':prezto:module:screen:auto-start' remote 'yes'
|
|
|
|
```
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Aliases
|
2012-06-10 23:49:33 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- `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.
|
2012-06-10 23:49:33 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Authors
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
_The authors of this module should be contacted via the [issue tracker][2]._
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|
|
|
- [Georges Discry](https://github.com/gdiscry)
|
2012-04-04 12:47:24 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
[1]: https://www.gnu.org/software/screen/
|
2012-09-03 20:08:39 +00:00
|
|
|
[2]: https://github.com/sorin-ionescu/prezto/issues
|