Refactor Screen aliases

This commit is contained in:
Sorin Ionescu 2012-08-14 22:15:45 -04:00
parent abfa69fc01
commit b2f0bdf8fd
2 changed files with 8 additions and 6 deletions

View File

@ -17,9 +17,10 @@ To enable this feature, add the following line to *zshrc*:
Aliases Aliases
------- -------
- `sl` lists sessions/socket directory. - `scr` is short for `screen`.
- `sn` starts a new session. - `scrl` lists sessions/socket directory.
- `sr` attaches to a session if one exists or start a new one. - `scrn` starts a new session.
- `scrr` attaches to a session if one exists or start a new one.
Authors Authors
------- -------

View File

@ -32,7 +32,8 @@ fi
# Aliases # Aliases
# #
alias sl="screen -list" alias scr='screen'
alias sn="screen -U -S" alias scrl='screen -list'
alias sr="screen -a -A -U -D -R" alias scrn='screen -U -S'
alias scrr='screen -a -A -U -D -R'