diff --git a/zlogin b/zlogin index e69de29..3d5f36c 100644 --- a/zlogin +++ b/zlogin @@ -0,0 +1,2 @@ +# .zlogin [3] Used for executing user's commands at ending of initial progress, +# will be sourced when starting as a login shell. diff --git a/zlogout b/zlogout index e69de29..e564438 100644 --- a/zlogout +++ b/zlogout @@ -0,0 +1 @@ +# .zlogout [4] Will be sourced when a login shell exits. diff --git a/zprofile b/zprofile index e69de29..418d452 100644 --- a/zprofile +++ b/zprofile @@ -0,0 +1,2 @@ +# .zprofile [1] Used for executing user's commands at start, will be sourced +# when starting as a login shell. diff --git a/zshenv b/zshenv index 8900f16..db8fab1 100644 --- a/zshenv +++ b/zshenv @@ -1,3 +1,7 @@ +# .zshenv [0] Used for setting user's environment variables; it should not +# contain commands that produce output or assume the shell is attached to a +# tty. This file will always be sourced. + # Enable saving command history to file HISTFILE=$HOME/.histfile HISTSIZE=5000 diff --git a/zshrc b/zshrc index 1eecfb7..1d65a37 100644 --- a/zshrc +++ b/zshrc @@ -1,3 +1,6 @@ +# .zshrc [2] Used for setting user's interactive shell configuration and +# executing commands, will be sourced when starting as an interactive shell. + # Load plugin scripts plugin-load() { source ~/.config/zsh/$1/$1.plugin.zsh } plugin-load zsh-syntax-highlighting