unixorn/tumult.plugin.zsh

View on GitHub
bin/clear-macos-font-cache

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash
#
# Orignal source:
#   https://github.com/herrbischoff/awesome-osx-command-line/blob/master/functions.md#app-icons

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

atsutil databases -removeUser && \
atsutil server -shutdown && \
atsutil server -ping