From 7bc64134eb00afe50312edab6d97b57bb690b190 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Fri, 8 Mar 2024 21:53:00 +0100 Subject: [PATCH] zsh: load local configuration if present --- config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index a1b1910..c5d856e 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -13,6 +13,11 @@ for filepath in $ZDOTDIR/functions/*; do done unset filepath +# Load additional local configuration if present. +local_config="$HOME/.local/etc/zsh/config.zsh" +[ -r "$local_config" ] && source "$local_config" +unset local_config + # Prevent ctrl-s from freezing the terminal. stty stop undef