dotfiles/zsh
James Patrick 3556761ebd Changed how the mktemp trick work.
This way actually has a couple of advantages.

1. With this you write something like $ _ vim file.xml. This is
automatically drop you into a tmp dir then run the vim command.
2. zsh completions aren't still work.
2022-01-05 23:18:14 -05:00
..
cache Fixed issue with autocompletes not being loaded 2020-08-21 18:04:38 -04:00
environment Work is now using jre 11. 2021-09-13 20:14:48 -04:00
modules Changed how the mktemp trick work. 2022-01-05 23:18:14 -05:00
README.md Update 'zsh/README.md' 2020-05-21 18:48:09 +00:00
makefile Refactored make targets. 2021-11-28 16:33:24 -05:00
zlogin Fixed issue with autocompletes not being loaded 2020-08-21 18:04:38 -04:00
zlogout Added logout prompt. 2019-09-09 22:31:21 -04:00
zplug Replacing diff-so-fancy with delta. 2021-04-27 14:39:49 -04:00
zprofile Added sourcing of .profile to .zprofile. 2019-06-03 00:43:01 -04:00
zshenv Fixed issue with autocompletes not being loaded 2020-08-21 18:04:38 -04:00
zshrc Added tmux-autostart function to start before the rest of the plugins. 2019-05-01 17:25:56 -04:00

README.md

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.