mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 19:49:25 +00:00
committed by
Sorin Ionescu
parent
5232191cbe
commit
fb9a20591f
@ -12,7 +12,7 @@ Starts a GNU Screen session automatically when Zsh is launched.
|
||||
|
||||
To enable this feature, add the following line to *zshrc*:
|
||||
|
||||
zstyle ':omz:module:screen' auto-start 'yes'
|
||||
zstyle ':prezto:module:screen' auto-start 'yes'
|
||||
|
||||
Aliases
|
||||
-------
|
||||
@ -30,5 +30,5 @@ Authors
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
|
||||
[1]: http://www.gnu.org/software/screen/
|
||||
[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues
|
||||
[2]: https://github.com/sorin-ionescu/prezto/issues
|
||||
|
||||
|
@ -14,7 +14,7 @@ fi
|
||||
# Auto Start
|
||||
#
|
||||
|
||||
if [[ -z "$STY" ]] && zstyle -t ':omz:module:screen' auto-start; then
|
||||
if [[ -z "$STY" ]] && zstyle -t ':prezto:module:screen' auto-start; then
|
||||
session="$(
|
||||
screen -list 2> /dev/null \
|
||||
| sed '1d;$d' \
|
||||
|
Reference in New Issue
Block a user