Mercurial > dotfiles
view .chezmoiscripts/run_onchange_after_16-install-mise-and-plugins.sh.tmpl @ 1095:4befa7ae4e90 draft
fix: add keyrings.alt to mercurial package
author | "Zeger Van de Vannet <zeger@vandevan.net>" |
---|---|
date | Sun, 18 May 2025 16:33:16 +0200 |
parents | 9732db099471 |
children |
line wrap: on
line source
{{ if (and (eq .chezmoi.os "linux") (or (eq .chezmoi.osRelease.name "Ubuntu" ) (eq .chezmoi.osRelease.name "Fedora Linux Asahi Remix"))) -}} #!/usr/bin/env bash set -xe # tool-versions hash: {{ include "dot_tool-versions" | sha256sum }} {{ $version := "2025.5.6" }} {{ $arch := "x64" }} {{ if (eq .chezmoi.arch "amd64") -}} {{ $arch = "x64" }} {{ else }} {{ $arch = "arm64" }} {{ end }} : "${XDG_CONFIG_HOME:=$HOME/.config}" RTX_BIN=$HOME/bin/mise curl -fsSL https://github.com/jdx/mise/releases/download/v{{ $version }}/mise-v{{ $version }}-linux-{{ $arch }} | sudo install -m 755 /dev/stdin $RTX_BIN export PYTHON_CONFIGURE_OPTS="--enable-shared" $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 {{ end }}