diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2024-04-20 10:32:39 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2024-04-20 10:32:39 +0100 |
| commit | 0a45a3af4918b36043f04ee4ab2d3379fa71c504 (patch) | |
| tree | 803e415472f0ce1b35040cacabfbf0b3f7957ca7 | |
| parent | 2dfff3413e3b11a486c32d237c5f3a377d55b707 (diff) | |
zsh: Source files in ‘dotfiles-local’ if available
| -rw-r--r-- | zsh/env | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
