dotfiles/zsh
James Patrick c15757f3b3 Fixed reported error when nothing new to install.
Running: zplug install with no new installs returns an exitcode of 1. So
running
  zplug install ; report "message"
will always report a failure if there was no new resources to install.
There doesn't seem to an actual way to tell if the install failed
besides checking the log zplug produces, but that can be kind of messy.
For the time being I'm going to disable reporting on this.
2020-07-02 15:10:59 -04:00
..
environment Using zsh array path instead of $PATH. 2020-06-02 23:26:08 -04:00
modules Removed extra fzf-pass. Not needed, yet. 2020-06-27 00:31:11 -04:00
transient Adding basic zsh configuration. 2019-04-30 23:29:37 -04:00
makefile Fixed reported error when nothing new to install. 2020-07-02 15:10:59 -04:00
README.md Update 'zsh/README.md' 2020-05-21 18:48:09 +00: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 Removed old unused commands added a new one. 2020-05-31 14:15:41 -04:00
zprofile Added sourcing of .profile to .zprofile. 2019-06-03 00:43:01 -04:00
zshenv Fixed type that broke doom helper functions. 2020-06-03 10:26:27 -04:00
zshrc Added tmux-autostart function to start before the rest of the plugins. 2019-05-01 17:25:56 -04:00

ZSH

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

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.