Ask Different is a question and answer site for power users of Apple hardware and software. 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

When I start a new screen, the aliases that I have set in my ~/.profile do not seem to be sourced.

Does anyone know where I can change this or which file is actually read when starting a new screen?

share|improve this question
Doesn't screen -l work? – lhf Jul 6 '12 at 22:11
up vote 3 down vote accepted

For an alias to work in ~/.profile the session needs to be a login shell. Bash, which is probably what you're using, is typically read from ~/.bash_profile.

There's a good explanation of the differences mentioned here:

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.