My favorites | Sign in
Logo
             
Search
for
Updated Oct 18, 2008 by silassewell
ScreenOSX  
Open GNU Screen in OS X in the Current Working Directory

~/.bashrc

alias screen='export SCREENPWD=$(pwd); /usr/bin/screen'
export SHELL='/bin/bash -rcfile ~/.bash_profile';

case "$TERM" in 
    'screen')
         cd $SCREENPWD
         ;; 
esac

~/.screenrc

startup_message off
shell -$SHELL

Comment by cschep, Jan 13, 2009

Thank you!

Comment by j...@schwabcenter.com, Mar 03, 2009

That is excellent. Thank you for sharing your screen fu.

What prevents screen from working normally on OS X in the first place? I never had this problem on Linux.

Comment by krisajenkins, Jun 20, 2009

w00t! Thanks!


Sign in to add a comment
Hosted by Google Code