You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to ignore all files matching the pattern dir/**/*.org#.
What have you tried so far?
Adding the pattern as line to .chezmoiignore as well as adding dir/**/*.org{{- "#" -}} (inspired by quoting double curly braces) does not seem to work.
Output of any commands you've tried with --verbose flag
$ chezmoi --verbose $COMMAND
Output of chezmoi doctor
$ chezmoi doctorRESULT CHECK MESSAGEok version v2.57.0, commit v2.57.0, built at 2025-01-06, built by xbpswarning latest-version v2.58.0ok os-arch linux/amd64 (Void)ok uname Linux TUEILNT-MO-CR2 6.12.9_1 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 00:53:27 UTC 2025 x86_64 GNU/Linuxok go-version go1.23.4 (gc)ok executable /usr/bin/chezmoiok config-file ~/.config/chezmoi/chezmoi.toml, last modified 2025-01-13T00:33:17+01:00warning source-dir ~/.local/share/chezmoi is a git working tree (dirty)ok suspicious-entries no suspicious entrieswarning working-tree ~/.local/share/chezmoi is a git working tree (dirty)ok dest-dir ~ is a directoryok umask 022ok cd-command found /usr/bin/zshok cd-args /usr/bin/zshok diff-command found /usr/bin/deltaok edit-command found /usr/bin/nvimok edit-args /usr/bin/nvimok git-command found /usr/bin/git, version 2.47.1ok merge-command found /usr/bin/nvimok shell-command found /usr/bin/zshok shell-args /usr/bin/zshinfo age-command age not found in $PATHok gpg-command found /usr/bin/gpg, version 2.4.5info pinentry-command not setinfo 1password-command op not found in $PATHinfo bitwarden-command bw not found in $PATHinfo bitwarden-secrets-command bws not found in $PATHinfo dashlane-command dcli not found in $PATHinfo doppler-command doppler not found in $PATHinfo gopass-command gopass not found in $PATHok keepassxc-command found /usr/bin/keepassxc-cli, version 2.7.9info keepassxc-db not setinfo keeper-command keeper not found in $PATHinfo lastpass-command lpass not found in $PATHinfo pass-command pass not found in $PATHinfo passhole-command ph not found in $PATHinfo rbw-command rbw not found in $PATHinfo vault-command vault not found in $PATHinfo vlt-command vlt not found in $PATHinfo secret-command not set
Additional context
These files can be generated as temporaries by org-mode.
The text was updated successfully, but these errors were encountered:
This is not currently possible because chezmoi treats a # in .chezmoiignore file as the start of a comment.
#4210 fixes this to require the # to be either at the start of a line or have preceding whitespace to be considered the start of the comment.
Of course, this means that filenames starting with # or containing a space and a # cannot be ignored, but I think that's OK. Filenames containing weird characters are often problematic.
emacs is particularly unpleasant to other programs as it "cleverly" abuses conventions in many ways, e.g. creating broken symlinks on purpose, creating files with strange names, and creating temporary files in permanent locations.
What exactly are you trying to do?
I would like to ignore all files matching the pattern
dir/**/*.org#
.What have you tried so far?
Adding the pattern as line to
.chezmoiignore
as well as addingdir/**/*.org{{- "#" -}}
(inspired by quoting double curly braces) does not seem to work.Where else have you checked for solutions?
Output of any commands you've tried with
--verbose
flag$ chezmoi --verbose $COMMAND
Output of
chezmoi doctor
Additional context
These files can be generated as temporaries by org-mode.
The text was updated successfully, but these errors were encountered: