Skip to content

Commit 9f02ca0

Browse files
pavegclaude
andauthored
fix(ghtkn): add the missing LaunchAgent plist source (#258)
#254 shipped run_onchange_after_load-ghtkn-agent.sh.tmpl, which includes Library/LaunchAgents/local.ghtkn-agent.plist.tmpl for its change hash, and a .chezmoiignore entry for the plist, but the plist source never reached git: the global gitignore's `local.*` (meant for local override files) matches the launchd label naming. So `chezmoi apply` failed on the include, and the personal-profile ignore test failed because `chezmoi ignored` lists only targets that exist in the source. Restored from the deployed plist with the home directory templated, added with -f; its render is byte-identical to the deployed file. `just test` now passes. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 8754c10 commit 9f02ca0

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>Label</key>
6+
<string>local.ghtkn-agent</string>
7+
<key>ProgramArguments</key>
8+
<array>
9+
<string>/opt/homebrew/bin/aqua</string>
10+
<string>exec</string>
11+
<string>--</string>
12+
<string>ghtkn</string>
13+
<string>agent</string>
14+
<string>start</string>
15+
</array>
16+
<key>EnvironmentVariables</key>
17+
<dict>
18+
<key>AQUA_GLOBAL_CONFIG</key>
19+
<string>{{ .chezmoi.homeDir }}/.config/aquaproj-aqua/aqua.yaml</string>
20+
<key>XDG_CONFIG_HOME</key>
21+
<string>{{ .chezmoi.homeDir }}/.config</string>
22+
<key>XDG_DATA_HOME</key>
23+
<string>{{ .chezmoi.homeDir }}/.local/share</string>
24+
<key>XDG_CACHE_HOME</key>
25+
<string>{{ .chezmoi.homeDir }}/.cache</string>
26+
<key>PATH</key>
27+
<string>{{ .chezmoi.homeDir }}/.local/share/aquaproj-aqua/bin:/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
28+
</dict>
29+
<key>RunAtLoad</key>
30+
<true/>
31+
<key>KeepAlive</key>
32+
<true/>
33+
<key>StandardOutPath</key>
34+
<string>{{ .chezmoi.homeDir }}/Library/Logs/ghtkn-agent.log</string>
35+
<key>StandardErrorPath</key>
36+
<string>{{ .chezmoi.homeDir }}/Library/Logs/ghtkn-agent.log</string>
37+
</dict>
38+
</plist>

0 commit comments

Comments
 (0)