From e969c7483716065869e5aef685697f0b85b56bc1 Mon Sep 17 00:00:00 2001 From: Kenichi Takahashi Date: Sat, 11 Feb 2023 12:00:08 +0900 Subject: [PATCH] use jdxcode/rtx instead of asdf --- asdfrc | 1 - config/fish/config.fish | 6 ++++-- local/bin/asdf-update-all | 12 ------------ tool-versions | 3 +-- 4 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 asdfrc delete mode 100755 local/bin/asdf-update-all diff --git a/asdfrc b/asdfrc deleted file mode 100644 index e600bd0..0000000 --- a/asdfrc +++ /dev/null @@ -1 +0,0 @@ -legacy_version_file = yes diff --git a/config/fish/config.fish b/config/fish/config.fish index ba47acf..f043bd1 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -48,8 +48,10 @@ if command -v direnv > /dev/null; eval (direnv hook fish) end -if test -f ~/.asdf/asdf.fish - source ~/.asdf/asdf.fish +if command -v rtx > /dev/null; + rtx activate fish | source + rtx hook-env -s fish | source + rtx complete -s fish | source end if command -v starship > /dev/null; diff --git a/local/bin/asdf-update-all b/local/bin/asdf-update-all deleted file mode 100755 index 49b334c..0000000 --- a/local/bin/asdf-update-all +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -set -ex - -asdf update -asdf plugin update --all - -for name in $(asdf plugin list); do - asdf install $name latest - asdf global $name $(asdf list $name | tail -n1) -done - diff --git a/tool-versions b/tool-versions index 1b1db98..54b297e 100644 --- a/tool-versions +++ b/tool-versions @@ -1,10 +1,9 @@ golang 1.17.2 -nodejs 19.2.0 +nodejs 19.6.0 python 3.8.13 ruby 3.2.0 rust 1.66.1 terraform 1.3.6 -php 8.1.0RC5 heroku-cli 7.67.1 kustomize 4.5.7 gcloud 410.0.0