My personal shell settings, heavily customised and refined over the years.
Global: zshenv -> zprofile -> zshrc -> zlogin
None:
- zshenv
Login Only:
- zshenv -> zprofile -> zlogin
Interactive Only:
- zshenv -> zshrc
Login + Interactive:
- zshenv -> zprofile -> zshrc -> zlogin
- New gnome-terminal: interactive
- New tmux: login + interactive
- New ssh: login + interactive
- ssh : none
- ./script: none
Arch in a very annoying decision resets your PATH after sourcing .zshenv,
forcing you to set your PATH in .zprofile or .zshrc. We work around this
by sourcing .shenv to set the PATH from both .zshenv and .zprofile, but
observing if this isn't a login shell to ensure only one of them fires.
This library is BSD-licensed.
This library is written and maintained by David Terei.