unixorn/tumult.plugin.zsh

View on GitHub
bin/firefox

Summary

Maintainability
Test Coverage
#!/bin/bash
#
# Force opening a URL with Firefox
if [[ "$(uname -s)" != 'Darwin' ]]; then
  echo 'Sorry, this script only works on macOS'
  exit 1
fi

exec open -a "Firefox" "$@"