comparison .chezmoiscripts/run_onchange_after_41-install-language-servers.sh.tmpl @ 1036:31351132efca

feat: switch rtx to mise and fixes for clean installs
author Zeger Van de Vannet <zeger@vandevan.net>
date Sun, 16 Jun 2024 20:24:58 +0200
parents f3e87577dd3a
children 9ba5b0e3c6ba
comparison
equal deleted inserted replaced
1035:45d1a5571c52 1036:31351132efca
5 "pyright" "1.1.349" -}} 5 "pyright" "1.1.349" -}}
6 #!/usr/bin/env bash 6 #!/usr/bin/env bash
7 7
8 set -xe 8 set -xe
9 9
10 eval "$($HOME/bin/rtx activate bash)" 10 eval "$($HOME/bin/mise activate bash)"
11 eval "$($HOME/bin/rtx hook-env)" 11 eval "$($HOME/bin/mise hook-env)"
12 12
13 curl -fsSL https://github.com/tamasfe/taplo/releases/download/{{ $taplo_version }}/taplo-full-linux-x86_64.gz | gzip -d - | sudo install -m 755 /dev/stdin /usr/local/bin/taplo 13 curl -fsSL https://github.com/tamasfe/taplo/releases/download/{{ $taplo_version }}/taplo-full-linux-x86_64.gz | gzip -d - | sudo install -m 755 /dev/stdin /usr/local/bin/taplo
14 14
15 {{ range keys $pipx_pkgs | sortAlpha }} 15 {{ range keys $pipx_pkgs | sortAlpha }}
16 pipx install --force "{{ . }}=={{ get $pipx_pkgs . }}" 16 pipx install --force "{{ . }}=={{ get $pipx_pkgs . }}"