#!/usr/bin/env bash COMMAND=pixelfed-$1 if which $COMMAND; then $COMMAND "${@:2}" else pixelfed-run "${@:1}" fi