view .chezmoiscripts/run_once_after_30-generate-completions.sh.tmpl @ 1044:fb4670b7526a

feat: replicate push-line function from zsh source: https://github.com/fish-shell/fish-shell/issues/7800#issuecomment-792915764
author Zeger Van de Vannet <zeger@vandevan.net>
date Thu, 02 May 2024 08:48:33 +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 }}