Skip to content

Instantly share code, notes, and snippets.

@hitode909

hitode909/_s

Created Feb 22, 2010
Embed
What would you like to do?
#compdef s
sessions=$(screen -ls | awk '{ FS = "[\. \t]+" } /tached/ { print $3 }')
_arguments "1:first:($sessions)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment