view .chezmoiscripts/run_once_after_30-generate-completions.sh.tmpl @ 1042:aa5a077e8680

feat: override hg completions to allow full path completion on hg add
author Zeger Van de Vannet <zeger@vandevan.net>
date Thu, 02 May 2024 07:53:01 +0200
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 }}