Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PatentLobster committed Sep 17, 2023
1 parent 4ade52b commit a7e9c17
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions home/.chezmoi.toml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
{{- /* https://www.chezmoi.io/docs/how-to/#use-chezmoi-with-github-codespaces-visual-studio-codespaces-or-visual-studio-code-remote---containers */ -}}
{{- $codespaces := env "REMOTE_CONTAINERS" | not | not -}}

{{- $email := promptStringOnce . "email" "Email for .gitconfig" -}}
{{- $storeSecrets := promptBoolOnce . "storeSecrets" "Store secrets on this machine" -}}
{{- $installApps := promptBoolOnce . "installApps" "Install applications" -}}
{{- $installCasks := promptBoolOnce . "installCasks" "Install casks" -}}
{{- if $codespaces -}}
{{- $email = "itzik@itzik.co" -}}
{{- $storeSecrets = false -}}
{{- $installApps = false -}}
{{- $installCasks = false -}}
{{- $email := "itzik@itzik.co" -}}
{{- $storeSecrets := false -}}
{{- $installApps := false -}}
{{- $installCasks := false -}}
{{- if not $codespaces -}}
{{- $email = promptStringOnce . "email" "Email for .gitconfig" -}}
{{- $storeSecrets = promptBoolOnce . "storeSecrets" "Store secrets on this machine" -}}
{{- $installApps = promptBoolOnce . "installApps" "Install applications" -}}
{{- $installCasks = promptBoolOnce . "installCasks" "Install casks" -}}
{{- end -}}


Expand Down

0 comments on commit a7e9c17

Please sign in to comment.