Skip to content

Commit

Permalink
test this
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Jan 26, 2024
1 parent 1280e9e commit cee0b4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .chezmoi.toml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
command = "emacs"
args = ["-nw"]

{{ $email := "" }}
{{ $use_zsh_root_dir := false }}
{{ if stdinIsATTY }}
{{- $use_zsh_root_dir = promptBool "Use ZSH_ROOT_DIR for tmux shell" }}
{{ $email = promptString "email" -}}
{{ end }}
{{- $use_zsh_root_dir := promptBoolOnce . "use_zsh_root_dir" "Use ZSH_ROOT_DIR for tmux shell" }}
{{ $email := promptString "email" -}}

[data]
use_zsh_root_dir = {{ $use_zsh_root_dir }}
email = {{ $email | quote }}
email = {{ $email | quote }}
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ jobs:
brew install chezmoi
- name: Install
run: |
chezmoi init https://github.com/marchdf/dotfiles.git --branch zsh-clean
chezmoi apply -v
chezmoi init https://github.com/marchdf/dotfiles.git --branch ${GITHUB_REF##*/} --promptString email="" --promptBool use_zsh_root_dir=false
chezmoi data
# chezmoi apply -v

0 comments on commit cee0b4e

Please sign in to comment.