Skip to content

Instantly share code, notes, and snippets.

@false-git
Created December 6, 2013 14:28
Show Gist options
  • Save false-git/7825603 to your computer and use it in GitHub Desktop.
Save false-git/7825603 to your computer and use it in GitHub Desktop.
ログイン時に、~/.launchd.conf を読ませる設定
<?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>
<key>Label</key>
<string>local.launchd.conf</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>launchctl < ~/.launchd.conf</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment