List both attached and detached sesstions for screen -x

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
This commit is contained in:
Alexey Zaytsev 2010-11-05 01:19:14 +00:00 committed by Ville Skyttä
parent 8dc1e86a7a
commit d68b471905

View File

@ -36,11 +36,16 @@ _screen()
_screen_sessions 'Detached'
return 0
;;
-[dDx])
-[dD])
# list attached
_screen_sessions 'Attached'
return 0
;;
-x)
# list both
_screen_sessions
return 0
;;
-s)
_shells
return 0