Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Feb 7 '10 at 13:53

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

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

You must log in to answer this question.