set -e file='launched.sleep_more_important_than_task.plist' url='https://launched.zerowidth.com/plists/54713e90-72e7-0139-26ac-00b9930cc07e.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"