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