From b2f0bdf8fd5fed69aa146f9304ed1e865e9bddcd Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 14 Aug 2012 22:15:45 -0400 Subject: [PATCH] Refactor Screen aliases --- modules/screen/README.md | 7 ++++--- modules/screen/init.zsh | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/screen/README.md b/modules/screen/README.md index cf9ed0f..f67878d 100644 --- a/modules/screen/README.md +++ b/modules/screen/README.md @@ -17,9 +17,10 @@ To enable this feature, add the following line to *zshrc*: Aliases ------- - - `sl` lists sessions/socket directory. - - `sn` starts a new session. - - `sr` attaches to a session if one exists or start a new one. + - `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 ------- diff --git a/modules/screen/init.zsh b/modules/screen/init.zsh index d185233..d712c2f 100644 --- a/modules/screen/init.zsh +++ b/modules/screen/init.zsh @@ -32,7 +32,8 @@ fi # Aliases # -alias sl="screen -list" -alias sn="screen -U -S" -alias sr="screen -a -A -U -D -R" +alias scr='screen' +alias scrl='screen -list' +alias scrn='screen -U -S' +alias scrr='screen -a -A -U -D -R'