Files
dotfiles/launchd/Library/LaunchAgents/com.hungryroot.flower.plist

42 lines
1.2 KiB
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- A unique label -->
<key>Label</key>
<string>com.hungryroot.flower</string>
<!-- Use bash to allow `cd &&` -->
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
<string>-lc</string>
<string>cd /Users/colin.powell/src/github.com/hungryroot/hungryroot &amp;&amp; eval "$(/opt/homebrew/bin/direnv export bash)" &amp;&amp; just flower</string>
</array>
<!-- Run when the agent is loaded -->
<key>RunAtLoad</key>
<true/>
<!-- Set a working directory explicitly (recommended) -->
<key>WorkingDirectory</key>
<string>/Users/colin.powell/src/github.com/hungryroot/hungryroot</string>
<!-- Log output -->
<key>StandardOutPath</key>
<string>/tmp/hungryroot-flower.log</string>
<key>StandardErrorPath</key>
<string>/tmp/hungryroot-flower.log</string>
<!-- Ensure PATH includes Homebrew -->
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin</string>
</dict>
</dict>
</plist>