dotfiles/resources/set-path.plist

17 lines
525 B
Plaintext
Raw Normal View History

2014-11-05 08:15:27 -07:00
o<?xml version="1.0" encoding="UTF-8"?>
2014-10-21 12:00:04 -06:00
<!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>
2014-11-05 08:15:27 -07:00
<string>org.imalison.set-path</string>
2014-10-21 12:00:04 -06:00
<key>ProgramArguments</key>
<array>
<string>zsh</string>
<string>-c</string>
<string>source ~/.zshrc && echo password | sudo -Sv && as_current_user /bin/launchctl setenv PATH $PATH</string>
2014-10-21 12:00:04 -06:00
</array>
<key>RunAtLoad</key>
2014-10-21 12:00:04 -06:00
<true/>
</dict>
</plist>