diff .chezmoiscripts/run_onchange_after_16-install-mise-and-plugins.sh.tmpl @ 1100:ff1fe85fc5bb draft

feat: install devtools via mise globally
author Zeger Van de Vannet <zeger@vandevan.net>
date Tue, 01 Jul 2025 20:12:46 +0200
parents 9732db099471
children
line wrap: on
line diff
--- a/.chezmoiscripts/run_onchange_after_16-install-mise-and-plugins.sh.tmpl	Mon May 19 20:56:09 2025 +0200
+++ b/.chezmoiscripts/run_onchange_after_16-install-mise-and-plugins.sh.tmpl	Tue Jul 01 20:12:46 2025 +0200
@@ -3,8 +3,8 @@
 
 set -xe
 
-# tool-versions hash: {{ include "dot_tool-versions" | sha256sum }}
-{{ $version := "2025.5.6" }}
+# tool-versions hash: {{ include "dot_config/mise/config.toml" | sha256sum }}
+{{ $version := "2025.6.8" }}
 
 
 {{ $arch := "x64" }}
@@ -22,8 +22,10 @@
 $RTX_BIN install --verbose --yes
 
 mkdir -p $XDG_CONFIG_HOME/direnv/lib
-$RTX_BIN direnv activate > $XDG_CONFIG_HOME/direnv/lib/use_rtx.sh
-$RTX_BIN completion zsh > ~/.zsh/completetions
+FISH_COMPLETIONS=$HOME/.config/fish/completions
+$RTX_BIN completion fish > $FISH_COMPLETIONS/mise.fish
+$RTX_BIN exec ripgrep -- rg --generate=complete-fish > $FISH_COMPLETIONS/rg.fish
+$RTX_BIN exec fd -- fd --gen-completions fish > $FISH_COMPLETIONS/fd.fish
 
 
 {{ end }}