1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 21:11:13 +00:00
prezto/modules/screen/README.md

48 lines
1.2 KiB
Markdown
Raw Normal View History

# GNU Screen
2012-04-04 12:47:24 +00:00
Defines [GNU Screen][1] aliases and provides for auto launching it at start-up.
## Settings
2012-04-04 12:47:24 +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
To enable this feature when launching Zsh in a local terminal, add the following
line to _`${ZDOTDIR:-$HOME}/.zpreztorc`_:
2012-04-04 12:47:24 +00:00
```sh
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`_:
```sh
zstyle ':prezto:module:screen:auto-start' remote 'yes'
```
2012-04-04 12:47:24 +00:00
## Aliases
Aliases are enabled by default. To disable them, add the following to
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
```sh
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
2012-04-04 12:47:24 +00:00
_The authors of this module should be contacted via the [issue tracker][2]._
2012-04-04 12:47:24 +00:00
- [Sorin Ionescu](https://github.com/sorin-ionescu)
- [Georges Discry](https://github.com/gdiscry)
2012-04-04 12:47:24 +00:00
[1]: https://www.gnu.org/software/screen/
[2]: https://github.com/sorin-ionescu/prezto/issues