From 39548f2301ef4faf6cf19f4a6f379f183c6e2fc5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 23 Mar 2016 09:28:03 -0700 Subject: [zsh] clean up zsh config. Keep as few files as possible, and document the order this files are loaded in OS X. --- docs/zsh.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/zsh.org b/docs/zsh.org index 1f4afb7..5a34193 100644 --- a/docs/zsh.org +++ b/docs/zsh.org @@ -11,8 +11,11 @@ The configuration files are loaded in that order: + $HOME/.zprofile + /etc/zshrc + $HOME/.zshrc -+ /etc/zlogin (if logging shell) -+ $HOME/.zlogin (if logging shell) ++ /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). -- cgit 1.4.1