James Patrick
a1e365546b
This is a very fragile implementation of this, but I didn't want to add any dependencies to this script since I want it to be able to portable above all else. If anyone has a better solution I would love to hear it. |
||
---|---|---|
.. | ||
environment | ||
modules | ||
transient | ||
makefile | ||
README.md | ||
zlogin | ||
zlogout | ||
zplug | ||
zprofile | ||
zshenv | ||
zshrc |
ZSH
File Structure.
The file structure looks something like this: Nodes with a trailing "δ" are directories.
zsh
├── environment δ
│ ├── host δ
│ └── os δ
│ ├── darwin δ
│ └── linux-gnu δ
├── makefile
├── modules δ
├── transient δ
├── zlogin
├── zlogout
├── zplug
├── zprofile
├── zshenv
└── zshrc
environment
:: This is the contains environment base logic and contains. At each step of the zsh loading process theenv_loader
function will load the corresponding file.host
:: Loaded Automatically. Conditionally loads by based on$HOST
value.os
:: Loaded Automatically. Conditionally loads by based on$OSTYPE
value.
makefile
:: Install/Update/Remove makefile.modules
:: Local modules loaded by zplug.transient
:: Files that are required for zsh (eg history), that are not to be versioned.zlogin
/zlogout
/zprofile
/etc :: The default shell resource files. See here for more infomation on load order.zplug
:: How to load modules.