set -e file='launched.parseclatencyutility.plist' url='https://launched.zerowidth.com/plists/aQtNH2H68a.xml' dir="$HOME/Library/LaunchAgents" echo "downloading $file..." mkdir -p "$dir" curl -fsS -o "$dir/$file" "$url" echo "installing $file..." launchctl load -w "$dir/$file"