Comments (3)
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.
I tried to replicate this in #3746 but was not able to do so.
What is the output of chezmoi doctor
?
from chezmoi.
Closing due to inactivity.
from chezmoi.
Related Issues (20)
- "chezmoi update" prompts for password even though encrypted file has not changed HOT 6
- Powershell one-line install on Windows 11 error - "You cannot call a method on a null-valued expression" HOT 17
- One-line binary install script does not give an error when cannot establish HTTPS connection HOT 4
- `chezmoid apply` (and `dump`) cause a Go panic HOT 3
- Option for `.chezmoiexternal` to add files directly to target and not in source state HOT 3
- Option to include directories outside of Chezmoi's root HOT 1
- Add support for template prefix HOT 3
- Support `failure` hooks and scripts HOT 7
- `--follow` and `--recursive` add seem to conflict
- Extend re-add command to add new files
- .chezmoiignore thinks closing braces are a pattern HOT 3
- Trouble ignoring certain files
- `chezmoi edit-config-template` creates initial template with world-writable permissions HOT 2
- Using environment variable in onepasswordRead HOT 2
- Support chmod in attributes HOT 5
- Powershell one-line install on Windows 11 error - update script at https://get.chezmoi.io/ps1 HOT 1
- run time bug when `chezmoi doctor` invoked HOT 6
- Make accidental removal harder
- forced update says "Already up to date." HOT 1
- Ability to dry-run / diff scripts HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezmoi.