Created
March 13, 2013 18:35
-
-
Save peregrinogris/5154856 to your computer and use it in GitHub Desktop.
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
# screen | |
which screen > /dev/null | |
SCREEN=($?) | |
if [[ -n "$SSH_CONNECTION" && -z "$STY" && "$SCREEN" -eq "0" ]]; then | |
# Screen is not currently running, but we are in SSH, so start a session | |
exec screen -D -R | |
fi |
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
term xterm-color | |
hardstatus on | |
hardstatus alwayslastline | |
startup_message off | |
termcapinfo xterm ti@:te@ | |
hardstatus string "%{= kG}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment