From 05dfad11df588686ae82a1752b1bddf637942360 Mon Sep 17 00:00:00 2001 From: Tony Blyler <git@tonyblyler.com> Date: Fri, 24 Jun 2022 20:35:08 -0400 Subject: [PATCH 1/2] update tool-versions for asdf --- chezmoi/dot_tool-versions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chezmoi/dot_tool-versions b/chezmoi/dot_tool-versions index 74713a5..86d41ce 100644 --- a/chezmoi/dot_tool-versions +++ b/chezmoi/dot_tool-versions @@ -1,2 +1,4 @@ -chezmoi 2.18.1 golang 1.18.3 +chezmoi 2.18.1 +nodejs lts +aws-copilot 1.19.0 From 1114c4f3a3d6a9f2ebddf69226a79b969bd5b7ff Mon Sep 17 00:00:00 2001 From: Tony Blyler <git@tonyblyler.com> Date: Fri, 24 Jun 2022 20:38:28 -0400 Subject: [PATCH 2/2] Add asdf to upgrade_system --- chezmoi/dot_zshrc.d/executable_upgrade_system.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh index b162d32..e9e6027 100644 --- a/chezmoi/dot_zshrc.d/executable_upgrade_system.sh +++ b/chezmoi/dot_zshrc.d/executable_upgrade_system.sh @@ -41,6 +41,12 @@ upgrade_system() { nvim --headless -E -c 'PaqSync' -c 'sleep 5' -c 'TSUpdateSync' -c 'sleep 5' -c 'quit' fi + if command -v asdf &> /dev/null; then + asdf update + asdf plugin update --all + asdf latest --all + fi + if command -v fwupdmgr &> /dev/null; then ( # 2 is a valid exit code for the fwupdmgr where