Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I know there is an elaborate sequence of config files that BASH reads sequentially (or alternatively skips if a particular one is present), however I have for the most part adopted ZSH as my default shell. I have tended to mainly edit my ~/.zshrc for everything but I am wondering if I should be editing other files as well.

BTW I am often logging in to a non-graphical login shell on some machines so is there a different sequence for login ZSH sessions vs interactive ones?

share|improve this question
add comment

1 Answer

This is documented extensively in the STARTUP/SHUTDOWN FILES section of the zsh man page.

share|improve this answer
    
It is also a prime example of man pages at their most cryptic. Not even referring to actual files but to environmental variable values. I can print out the env variable values but was hoping for practical experience with what people do. –  haziz Dec 10 '12 at 15:05
1  
The only environment variable used in that section is $ZDOTDIR, and the default value for that is explained right there. Your question didn't ask for practical experience, only what the sequence is. –  qqx Dec 10 '12 at 15:11
add comment

Your Answer

 
discard

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.