We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a05551d commit 8ec960fCopy full SHA for 8ec960f
1 file changed
root/private_dot_config/mr/groups.d/00-personal.tmpl
@@ -35,11 +35,12 @@ checkout =
35
update = gplmod --ff-only
36
37
38
-{{
39
- if (joinPath .chezmoi.homeDir ".zprezto"
40
- "modules/prompt/external/powerlevel10k/gitstatus" | stat)
+{{ $gitstatus := joinPath .chezmoi.homeDir ".zprezto"
+ "modules/prompt/external/powerlevel10k/gitstatus" -}}
+{{-
41
+ if stat $gitstatus
42
-}}
-[.zprezto/modules/prompt/external/powerlevel10k/gitstatus]
43
+[ {{- trimPrefix .chezmoi.homeDir $gitstatus | trimPrefix "/" -}} ]
44
order = 9
45
checkout = :
46
update = :
0 commit comments