From 06b5b5cd3940293d6977b346693c76148ff3a323 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 21 Mar 2023 01:21:47 +0000 Subject: [PATCH] chore(rtx): move global tool versions to rtx config file --- config/rtx/config.toml | 15 +++++++++++++++ tool-versions | 11 ----------- zshenv | 2 +- zshrc | 2 +- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/config/rtx/config.toml b/config/rtx/config.toml index 0736ab5..ae51101 100644 --- a/config/rtx/config.toml +++ b/config/rtx/config.toml @@ -1,3 +1,18 @@ [settings] experimental = true shims_dir = "~/.rtx/shims" + +[tools] +bat = "latest" +buf = "latest" +direnv = "latest" +dust = "latest" +exa = "latest" +golang = "latest" +jq = "latest" +nodejs = "lts" +python = "latest" +rclone = "latest" +shellcheck = "latest" +shfmt = "latest" +starship = "latest" diff --git a/tool-versions b/tool-versions index 3c1308d..e69de29 100644 --- a/tool-versions +++ b/tool-versions @@ -1,11 +0,0 @@ -bat latest -direnv latest -dust latest -exa latest -golang latest -jq latest -nodejs lts -python latest -shellcheck latest -shfmt latest -starship latest diff --git a/zshenv b/zshenv index 44caeba..2cd9018 100644 --- a/zshenv +++ b/zshenv @@ -199,7 +199,7 @@ if command-exists sccache; then export RUSTC_WRAPPER=sccache fi -# RTX shim setup +# rtx setup path_prepend "$HOME/.rtx/shims" # ============================================================================== diff --git a/zshrc b/zshrc index c63ee8c..d1ae94c 100644 --- a/zshrc +++ b/zshrc @@ -91,7 +91,7 @@ if command-exists direnv; then fi zinit light-mode wait lucid from'gh-r' as'program' pick'rtx' mv'rtx* -> rtx' \ - atclone'./rtx complete --shell zsh > _rtx && chmod +x _rtx && ./rtx activate zsh > .rtx.zsh' \ + atclone'./rtx complete -s zsh > _rtx && chmod +x _rtx && ./rtx activate zsh > .rtx.zsh' \ atpull'%atclone' \ src='.rtx.zsh' \ for @jdxcode/rtx