diff options
author | Alen <alen@dotfiles.xyz> | 2023-09-24 20:24:09 +0400 |
---|---|---|
committer | Alen <alen@dotfiles.xyz> | 2023-09-24 20:24:09 +0400 |
commit | 89087c9239d03cd4c9c4420e77f296f32a1214c4 (patch) | |
tree | 0478e8a4e884e9d4852e3eb1b3ca6d0789172123 /dot_config/nano/nanorc.tmpl | |
parent | 18b9327c9d3b3c9478e27e7dac98a7f88f421688 (diff) |
Fix nanorc template not working outside of chezmoi dir
Diffstat (limited to 'dot_config/nano/nanorc.tmpl')
-rw-r--r-- | dot_config/nano/nanorc.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot_config/nano/nanorc.tmpl b/dot_config/nano/nanorc.tmpl index a0de6af..a653842 100644 --- a/dot_config/nano/nanorc.tmpl +++ b/dot_config/nano/nanorc.tmpl @@ -2,7 +2,7 @@ {{- if lookPath "nano" -}} {{- $nanoVersion = index (output "nano" "--version" | split " ") "_4" -}} {{- end -}} -{{- output "dot_local/bin/nano_config.py" "generate" +{{- output (joinPath .chezmoi.sourceDir "dot_local/bin/nano_config.py") "generate" "--config" .nano.config "--version" $nanoVersion -}} # Extra syntax includes |