Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have problem using screen on Mac OS X. When i type screen from a certain directory, it always switches to my home directory instead of keeping current.

[akhkharu@andrey-macbook ~/ror]$ screen -v
Screen version 4.00.03 (FAU) 23-Oct-06

My .screenrc file:

shell -$SHELL
termcapinfo xterm* ti@:te@
share|improve this question

migrated from stackoverflow.com Feb 7 '10 at 13:53

This question came from our site for professional and enthusiast programmers.

1 Answer 1

This does not happen if you remove your shell -$SHELL line from your .screenrc. It shouldn't be needed anyway, as screen will run your default shell.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.