Open
Description
Requirements
Dependencies
Pull Requests
Benefits
- Inclusion of zprofile/zlogin and zlogout allow for specific files to be sourced when shell is a login shell. Useful for printing todo files, fortune, or cowsay files and scripts.
- Inclusion of zshenv allows for non-interactive shells to still have the proper environment setup. That especially matters for any scripts that use
#!/bin/zsh
and are run as cronjobs. - zshrc is still the primary file with exception of environment variables moving to zshenv.
Research
Specs
Utilize:
- zshenv
**/*path.zsh
(except**/*fpath.zsh
)**/*env.zsh
- zprofile
**/*profile.zsh
- zshrc
**/*fpath.zsh
**/*.zsh
(except**/*completion.zsh
,**/*path.zsh
,**/*env.zsh
,**/*profile.zsh
,**/*login.zsh
,**/*logout.zsh
)**/*completion.zsh
- zlogin
**/*login.zsh
- zlogout
**/*logout.zsh