summary refs log tree commit diff
path: root/docs/zsh.org
blob: 5a34193fa70d4d1391f1bae2bf3aec369eed4963 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#+AUTHOR: Franck Cuny
#+TITLE: zsh documentation
#+STARTUP: indent
#+STARTUP: hidestars

The configuration files are loaded in that order:

+ /etc/zshenc
+ $HOME/.zshenv
+ /etc/zprofile
+ $HOME/.zprofile
+ /etc/zshrc
+ $HOME/.zshrc
+ /etc/zlogin (if login shell)
+ $HOME/.zlogin (if login shell)

** Tips
/etc/zshenv is run for all instances of zsh, it is important that it be kept as small  as possible.

** On OS X
On OS X, terminal emulators are starting every shell as a login shells (since OS X doesn't source the profile).