|
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 |
Sign in to add a comment
Thank you!
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.
w00t! Thanks!
Worked great -- thanks! I skipped the pwd stuff and went straight for the shell sourcing ;)
~/.profile
~/.screenrc