Add support for local zshrc

Added a conditional to check for existence of .zshrc.local, which is a
local file: not in the git repository.
This commit is contained in:
c47 2024-04-28 18:33:19 +02:00
parent 204737ef0c
commit 6a5d1db58b
Signed by: c47
SSH key fingerprint: SHA256:FIo5G1VJnESaIB/8N5lcc2IDuZ02Sl2Qyye15i4w7jQ

View file

@ -18,6 +18,10 @@ umask 0077
prompt elite2 magenta yellow
bindkey '\e.' insert-last-word
if [[ -f ${ZDOTDIR}/.zshrc.local ]]; then
source ${ZDOTDIR}/.zshrc.local
fi
if [[ -f ${ZDOTDIR}/.zaliases ]]; then
source ${ZDOTDIR}/.zaliases
fi