# NAME # spec.functions - echo functions existing in the global scope that match # the key glob. # SYNOPSIS # spec.functions # # EXAMPLES # spec.functions "describe_" # spec.functions "before_" #/ function spec.functions -a key if [ -n "$key" ] # Skip empty strings to avoid fetching all global functions. functions -n | grep \^"$key" end end