From 7b5ac3f10d07205f7eeabd91936b94f02fa54519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Fri, 23 Jan 2026 00:33:10 +0100 Subject: zsh: add `:` to xsource Otherwise, failure to find xsource() files causes a return of 1 at the end of zlogin (or similar). The entire point of xsource is to "safely" source files that may not be there, so this seems reasonable. --- dot_config/zsh/zshenv | 1 + 1 file changed, 1 insertion(+) (limited to 'dot_config/zsh/zshenv') diff --git a/dot_config/zsh/zshenv b/dot_config/zsh/zshenv index 7f08cf7..2818dfd 100644 --- a/dot_config/zsh/zshenv +++ b/dot_config/zsh/zshenv @@ -7,6 +7,7 @@ xsource() { for i; do [ -r "$i" ] && source "$i" done + : } xzsource() { xsource "${@/#/$ZDOTDIR/}" -- cgit v1.2.3