#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"' BASE_SHELL=${BASE_SHELL:-${SHELL##*/}} if is_cmd pet; then . <( pet completion ${BASE_SHELL} ) [[ -n "${DBG}" ]] && echo "pet loaded." fi