Code Monkey home page Code Monkey logo

Comments (3)

lakkeger avatar lakkeger commented on June 16, 2024 1

Hi @twpayne,
Sorry for the inactivity. See my chezmoi doctor output:

RESULT   CHECK                       MESSAGE
ok       version                     v2.48.1, commit Homebrew, built at 2024-05-12T18:52:40Z, built by Homebrew
ok       latest-version              v2.48.1
ok       os-arch                     darwin/arm64
ok       uname                       Darwin lakkeger-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64
ok       go-version                  go1.22.3 (gc)
ok       executable                  /opt/homebrew/bin/chezmoi
ok       upgrade-method              brew-upgrade
ok       config-file                 ~/.config/chezmoi/chezmoi.toml, last modified 2024-05-02T09:07:33+02:00
ok       source-dir                  ~/.local/share/chezmoi is a git working tree (clean)
ok       suspicious-entries          no suspicious entries
ok       working-tree                ~/.local/share/chezmoi is a git working tree (clean)
ok       dest-dir                    ~ is a directory
ok       umask                       022
ok       cd-command                  found /bin/zsh
ok       cd-args                     /bin/zsh
info     diff-command                not set
ok       edit-command                found /opt/homebrew/bin/code
ok       edit-args                   code --wait
ok       git-command                 found /opt/homebrew/bin/git, version 2.45.0
ok       merge-command               found /usr/bin/vimdiff
ok       shell-command               found /bin/zsh
ok       shell-args                  /bin/zsh
ok       age-command                 found /opt/homebrew/bin/age, version 1.1.1
ok       gpg-command                 found /opt/homebrew/bin/gpg, version 2.4.5
info     pinentry-command            not set
info     1password-command           op not found in $PATH
ok       bitwarden-command           found /opt/homebrew/bin/bw, version 2024.4.0
info     bitwarden-secrets-command   bws not found in $PATH
info     dashlane-command            dcli not found in $PATH
info     doppler-command             doppler not found in $PATH
info     gopass-command              gopass not found in $PATH
info     keepassxc-command           keepassxc-cli not found in $PATH
info     keepassxc-db                not set
info     keeper-command              keeper not found in $PATH
info     lastpass-command            lpass not found in $PATH
info     pass-command                pass not found in $PATH
info     passhole-command            ph not found in $PATH
info     rbw-command                 rbw not found in $PATH
ok       vault-command               found /opt/homebrew/bin/vault, version 1.14.4
info     vlt-command                 vlt not found in $PATH
info     secret-command              not set

The config template is pretty much the same as before:

[git]
    autoPush = true
    commitMessageTemplate = "{{ promptString \"Commit message\" }}"
[add]
    secrets = "error"

BEFORE it was a user error as I had an old version of the config in place.
AFTER I found I got an error as it turns out the documentation mentions editing config and not the template, hence the template throws error if you try to add the above config. To work this around one must escape the commit message part as it shows below and then it works as expected:

...
commitMessageTemplate = {{`"{{ promptString \"Commit message\" }}"`}}
...

Perhaps it worth mentioning this in the docs, but other than that all seems to be in order now.

from chezmoi.

twpayne avatar twpayne commented on June 16, 2024

I tried to replicate this in #3746 but was not able to do so.

What is the output of chezmoi doctor?

from chezmoi.

twpayne avatar twpayne commented on June 16, 2024

Closing due to inactivity.

from chezmoi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.