unixorn/tumult.plugin.zsh

View on GitHub
bin/enable-crash-reports

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash
#
# Enable crash reports
#
# Copyright 2023, Joe Block <jpb@unixorn.net>

if [[ "$(uname -s)" != 'Darwin' ]]; then
  echo 'Sorry, this script only works on macOS'
  exit 1
fi

exec defaults write com.apple.CrashReporterDialogType crashreport