view .chezmoiscripts/run_once_after_30-generate-completions.sh.tmpl @ 1077:04ad0b576298

fix: make sure mise is installed before mercurial
author Zeger Van de Vannet <zeger@vandevan.net>
date Sat, 22 Feb 2025 10:13:14 +0100
parents 31351132efca
children
line wrap: on
line source

{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu")) -}}
#!/usr/bin/env bash

set -xe


eval "$($HOME/bin/mise activate bash)"
eval "$($HOME/bin/mise hook-env)"

chezmoi completion zsh > $HOME/.zsh/completions/_chezmoi

{{ end }}