diff --git a/runcoms/zlogin b/runcoms/zlogin index ac4d342..896d10b 100644 --- a/runcoms/zlogin +++ b/runcoms/zlogin @@ -24,3 +24,6 @@ if [[ -o INTERACTIVE && -t 2 ]]; then fi fi >&2 + +source .zlocal/login 2> /dev/null || true + diff --git a/runcoms/zlogout b/runcoms/zlogout index b5d9858..a1d675a 100644 --- a/runcoms/zlogout +++ b/runcoms/zlogout @@ -17,3 +17,6 @@ SAYINGS=( echo $SAYINGS[$(($RANDOM % ${#SAYINGS} + 1))] } >&2 + +source '.zlocal/logout' 2> /dev/null || true + diff --git a/runcoms/zprofile b/runcoms/zprofile index 35b29eb..5139f49 100644 --- a/runcoms/zprofile +++ b/runcoms/zprofile @@ -66,3 +66,5 @@ if [[ -z "$LESSOPEN" ]] && (( $#commands[(i)lesspipe(|.sh)] )); then export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-" fi +source .zlocal/profile 2> /dev/null || true + diff --git a/runcoms/zshenv b/runcoms/zshenv index 2dbf12a..be1048f 100644 --- a/runcoms/zshenv +++ b/runcoms/zshenv @@ -9,3 +9,6 @@ if [[ ( "$SHLVL" -eq 1 && ! -o LOGIN ) && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then source "${ZDOTDIR:-$HOME}/.zprofile" fi + +source .zlocal/env 2> /dev/null || true + diff --git a/runcoms/zshrc b/runcoms/zshrc index 6e6c46d..c18c0d8 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -27,3 +27,6 @@ if type pyenv > /dev/null; then eval "$(pyenv init --path)" eval "$(pyenv init -)" fi + +source .zlocal/rc 2> /dev/null || true +