Skip to content

Commit

Permalink
feat: add chezmoi bash alias
Browse files Browse the repository at this point in the history
  • Loading branch information
aps831 committed Feb 3, 2024
1 parent 9dc5aa0 commit ad8cc6a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dot_bash_aliases.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,12 @@ gaf() {
git fixup
}

{{ if (and (not .devcontainers) (not .codespaces)) }}
# Chezmoi
function chezmoi() {
export DOPPLER_PROJECT=development
export DOPPLER_CONFIG=$(hostname)
export DOPPLER_TOKEN=$(doppler configure --json | yq '.. | select(has("token"))' | yq '.token')
command chezmoi "$@"
}
{{ end }}

0 comments on commit ad8cc6a

Please sign in to comment.