chore(rtx): move global tool versions to rtx config file

This commit is contained in:
2023-03-21 01:21:47 +00:00
parent cc3121e472
commit 06b5b5cd39
4 changed files with 17 additions and 13 deletions

View File

@@ -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"

View File

@@ -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

2
zshenv
View File

@@ -199,7 +199,7 @@ if command-exists sccache; then
export RUSTC_WRAPPER=sccache
fi
# RTX shim setup
# rtx setup
path_prepend "$HOME/.rtx/shims"
# ==============================================================================

2
zshrc
View File

@@ -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