OSX screen Shell Prompt

On OSX, the default for screen seems to be to NOT execute bash as a login shell; this prevents bash from looking at .bashrc etc. and thus your prompts look like ass:


instead of the usual:

akmac:~ andrew$

Getting around this is easy. In ~/.screenrc, add defshell -bash. This causes screen to invoke bash as if it were a login shell, which correctly executes .bashrc.

Add picture from clipboard (Maximum size: 1 GB)