From 70edfb44dc9e33b8a77a0eb7223974ebe507835a Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Tue, 23 Aug 2022 21:02:01 -0400 Subject: [PATCH] Avoid asdf update causing an error if it is installed via a package manager like brew --- chezmoi/dot_zshrc.d/executable_upgrade_system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh index e9e6027..7ec313e 100644 --- a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh +++ b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh @@ -42,7 +42,7 @@ upgrade_system() { fi if command -v asdf &> /dev/null; then - asdf update + asdf update || true asdf plugin update --all asdf latest --all fi