#!/bin/sh source /etc/profile.sh for f in hook require alert confirm prompt console man infinite; do echo -e "\r[⏵] shell function: $f" type $f | grep -q function || exit 1 done exit 0