From ace56fccd1f7f5e6c6b3dcd9bd5819836df41058 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Tue, 3 Oct 2023 22:28:17 -0400 Subject: [PATCH] fix asdf upgrade_system section --- chezmoi/dot_zshrc.d/executable_upgrade_system.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh index c63c7c3..b838d65 100644 --- a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh +++ b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh @@ -44,8 +44,8 @@ upgrade_system() { plugins[$0] = 1 } END { while ((getline < TOOL_VERSIONS_FILE) > 0) { - if (!plugins[$0]) { - print $0 + if (!plugins[$1]) { + print $1 } } }' | xargs -n 1 asdf plugin add