-
Notifications
You must be signed in to change notification settings - Fork 2
/
.zlogout
35 lines (33 loc) · 1.72 KB
/
.zlogout
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env zsh
# shellcheck shell=bash # ?? Shellcheck doesn't officially support Zsh linting, Bash is a close enough analog in most cases.
# Comment styling
# ** Highlight
# ?? Informational
# <> annotations for whole code blocks, i.e purpose of a function, bracegroup, loop, etc.
# !! Important
# ~~ Invalidated
# (TODO) Todo comments
# (WIP) Work in Progress
# (ACK) acknowledgment
# (RegEx) additional explanations for RegEx
# <> Loading order for Zsh startup files.
# +----------------+-----------+-----------+------+ +----------------------------+
# | |Interactive|Interactive|Script| | |
# | Login |login |non-login | | | Logout |
# +----------------+-----------+-----------+------+ +----------------+-----------+
# | /etc/zshenv | A | A | A | | ~/.zlogout | I |
# +----------------+-----------+-----------+------+ +----------------+-----------+
# | ~/.zshenv | B | B | B | | /etc/zlogout | J |
# +----------------+-----------+-----------+------+ +----------------+-----------+
# | /etc/zprofile | C | | |
# +----------------+-----------+-----------+------+
# | ~/.zprofile | D | | |
# +----------------+-----------+-----------+------+
# | /etc/zshrc | E | C | |
# +----------------+-----------+-----------+------+
# | ~/.zshrc | F | D | |
# +----------------+-----------+-----------+------+
# | /etc/zlogin | G | | |
# +----------------+-----------+-----------+------+
# | ~/.zlogin | H | | |
# +----------------+-----------+-----------+------+