dotfiles/zsh
James Patrick 6c3787ef1b Refactored to use .ONESHELL
This makes it a hell of a lot simpler but will lose support for BSD
make. All effected machines are running gnu-make, so the cost benefit
ratio ways heavily in favor of doing this.
2020-03-09 13:37:50 -04:00
..
environment Temp switch to chruby. 2020-03-08 17:57:18 -04:00
modules Added alias for the most recent file. 2020-01-13 14:26:32 -05:00
transient Adding basic zsh configuration. 2019-04-30 23:29:37 -04:00
makefile Refactored to use .ONESHELL 2020-03-09 13:37:50 -04:00
README.md Added file structure documentation for zsh. 2019-09-21 21:06:28 -04:00
zlogin Adding basic zsh configuration. 2019-04-30 23:29:37 -04:00
zlogout Added logout prompt. 2019-09-09 22:31:21 -04:00
zplug Refactored to use .ONESHELL 2020-03-09 13:37:50 -04:00
zprofile Added sourcing of .profile to .zprofile. 2019-06-03 00:43:01 -04:00
zshenv Not using kubecontext currently. 2020-03-02 10:28:52 -05:00
zshrc Added tmux-autostart function to start before the rest of the plugins. 2019-05-01 17:25:56 -04:00

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 the env_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.