From c77e0d9bec1d98a6f8ea1b9c0e6128c437f7a788 Mon Sep 17 00:00:00 2001 From: "Lockszmith (Mac@VAST)" Date: Thu, 10 Apr 2025 12:27:16 -0400 Subject: [PATCH] fix bug in czedext introduced by latest chezmoi function changes --- _src.posix/private_dot_config/sz.env/zzz_chezmoi.env.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src.posix/private_dot_config/sz.env/zzz_chezmoi.env.tmpl b/_src.posix/private_dot_config/sz.env/zzz_chezmoi.env.tmpl index f90b3bc..f8bdcac 100644 --- a/_src.posix/private_dot_config/sz.env/zzz_chezmoi.env.tmpl +++ b/_src.posix/private_dot_config/sz.env/zzz_chezmoi.env.tmpl @@ -25,7 +25,7 @@ if is_cmd 'chezmoi'; then } czcd() { chezmoi cd "${@}"; } czedext() { - local CZ_EXT="$(find $(chezmoi source-path) -mindepth 1 -maxdepth 1 -name '.chezmoiexternal.*')" + local CZ_EXT="$(find $(command chezmoi source-path) -mindepth 1 -maxdepth 1 -name '.chezmoiexternal.*')" CZ_EXT="${CZ_EXT:-$(chezmoi source-path "${@}")/.chezmoiexternal.yaml.tmpl}" "${VISUAL:-${EDITOR:-vi}}" "${CZ_EXT}" }