Skip to content

Instantly share code, notes, and snippets.

@niw
niw / uninstall_xquartz.sh
Last active April 19, 2024 14:28
A simple XQuartz uninstall script
#!/usr/bin/env bash
set -e
[[ $USER == "root" ]] || {
echo "You must be root to run this script." >&2
exit 1
}
echo "Unload launchd daemons and agents..."