Comments (4)
Thanks for reporting this. It is fixed with #3475.
Note that a better work-around is to use the quote
template function as this handles all characters that need to be escaped, not just backslashes.
[age]
identity = {{ joinPath .chezmoi.cacheDir "age.txt" | quote }}
from chezmoi.
You could also use | toToml
instead of | quote
.
from chezmoi.
You could also use
| toToml
instead of| quote
.
That's an even better solution, thank you.
from chezmoi.
Thanks for the alternatives. I'm two weeks into my chezmoi noob journey and loving this tool. I'll take this as an assignment to RTFM and master all those functions ;-)
from chezmoi.
Related Issues (20)
- Chezmoi diff is different from chezmoi apply diff HOT 3
- Chezmoi "add" adds/deletes subdirectories corresponding to submodules
- Allow .tmpl suffix for chezmoidata HOT 7
- chezmoi add: errors when directory referenced in .chezmoiexternal HOT 2
- Allow to use the built-in encryption method as a secret store HOT 3
- Different dotfiles on different machines, updated on the target side HOT 5
- Add a config option to make --apply=false the default for `chezmoi update` HOT 2
- Unable to fetch multiple external sources into same directory. HOT 3
- Chezmoi diff sets .Target wrong if the target dir does not exist HOT 2
- Prevent chezmoi external deleting something. HOT 2
- chezmoi doctor falsely errors when using rage HOT 2
- Explore apple/pkl support HOT 3
- Ignored files populated by chezmoiexternal are not ignored HOT 4
- chezmoi does not recognize `msys2` or `cygwin` $HOME HOT 4
- Improve documentation about app binary download HOT 4
- Can't add directory in Termux when progress is enabled HOT 1
- the --output $filename doesn't actually write to file HOT 2
- "Template" version of Chezmoi config file which gets synced HOT 4
- vim autocommand for automatically applying changes does not cover "chezmoi edit" HOT 2
- Better android detection for install script
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.