Created
August 2, 2013 14:00
-
-
Save rc5hack/6140111 to your computer and use it in GitHub Desktop.
screen(1) stuff
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
alias live=' | |
if [ -n "`screen -ls | grep LIVE`" ]; then | |
if [ -n "`screen -ls | grep LIVE | grep Attached`" ]; then | |
if [ -z "`echo $TERMCAP | grep screen`" ]; then | |
echo "Enter into Atached screen..."; | |
sleep 2; | |
screen -x LIVE; | |
else | |
echo "Already in LIVE"; | |
fi | |
else | |
screen -r LIVE; | |
fi | |
else | |
screen -S LIVE -c .screenrc.live ; | |
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
vbell off | |
hardstatus alwayslastline '%{= dg}[ %{g}%H %{g}][%= %{= dg}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{g}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' | |
screen -t root 0 sudo -i | |
screen -t jabber 1 mcabber | |
screen -t irc 2 irssi -c irc.freenode.net -n nick -w password | |
screen -t rss 3 snownews -u | |
screen -t bash 4 | |
startup_message off | |
bindkey -k F2 next # switch tabs with <--F11 F12--> | |
bindkey -k F1 prev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment