Created
January 21, 2010 23:02
-
-
Save timcharper/283304 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
... | |
ss () | |
{ | |
name=$1; | |
shift; | |
echo $name; | |
TERM=screen screen -S $name -c $HOME/.screen/$name $* | |
} |
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/jruby | |
source ${HOME}/.screen/screenrc | |
caption always "%{-u wk} %L=%-Lw%45>%{+ Gk} %n%f* %t %{-}%+Lw%-0< %=%{rw} JRuby " | |
setenv PATH "$HOME/.rvm/rubies/jruby-1.4.0/bin" | |
setenv GEM_PATH $HOME/.rvm/gems/jruby-1.4.0/ | |
setenv GEM_HOME $HOME/.rvm/gems/jruby-1.4.0/ | |
screen | |
title "JRuby" | |
stuff "cd ~/Projects/\015" # Useful if you want to have a change to a directory by default. |
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/screenrc | |
# Remap escape char to C-\ | |
escape \034\034 | |
vbellwait 0.25 | |
startup_message off | |
shell "-/bin/bash" | |
defscrollback 5000 | |
caption always "%{-u wk} %L=%-Lw%45>%{+ Gk} %n%f* %t %{-}%+Lw%-0< %=%{ck} %H | %M %d %c " | |
bind j focus down | |
bind k focus up | |
bind t focus top | |
bind b focus bottom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment