From 0a45a3af4918b36043f04ee4ab2d3379fa71c504 Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sat, 20 Apr 2024 10:32:39 +0100 Subject: zsh: Source files in ‘dotfiles-local’ if available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh/env') diff --git a/zsh/env b/zsh/env index 91c2e69..f6df33a 100644 --- a/zsh/env +++ b/zsh/env @@ -6,7 +6,7 @@ dotfiles_root() { source_if_exists() { local prefix file - for prefix in ${UNAME} ${DOMAIN} ${HOST_SHORT} ${HOST}; do + for prefix in ${UNAME} ${DOMAIN} ${HOST_SHORT} ${HOST} local; do file=$(dotfiles_root)/dotfiles-${prefix}/$1 [[ -f ${file} ]] && . ${file} done -- cgit v1.2.3-70-g09d2