This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# when logging in via ssh, automatically start a screen session if one is not | |
# running. otherwise, display a list of available screen sessions, and | |
# automatically reconnect to the first available session after a timeout | |
# Copyright (C) 2011 joh6nn@gmail.com | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |