2019-09-22 01:06:28 +00:00
# ZSH
2020-05-21 18:48:09 +00:00
## Install
Install for this follows the norm for the rest of the dotfiles. `cd` to this directory and run
```make install```
or if you are on a machine where BSD Make is installed by default:
```gmake install```
2019-09-22 01:06:28 +00:00
## 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
2024-05-07 05:43:59 +00:00
├── zgenom
2019-09-22 01:06:28 +00:00
├── zprofile
├── zshenv
└── zshrc
```
2020-05-21 18:48:09 +00:00
* `environment` :: This is the contains environment base logic and contains. At each step of the zsh loading process the `env_loader` function will load the corresponding file.
2019-09-22 01:06:28 +00:00
* `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.
2024-05-07 05:43:59 +00:00
* `modules` :: Local modules loaded by zgenom
2019-09-22 01:06:28 +00:00
* `transient` :: Files that are required for zsh (eg history), that are not to
be versioned.
2020-05-21 18:48:09 +00:00
* `zlogin` /`zlogout`/`zprofile`/etc :: The default shell resource files. See [here ](https://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/ ) for more infomation on load order.
2024-05-07 05:43:59 +00:00
* `zgenom` :: How to load modules.