diff --git a/command b/command index 74b887d..6d783d4 100755 --- a/command +++ b/command @@ -97,6 +97,8 @@ command__hidden() { echo "would run _hidden: $*" } +# ------------------ builtin commands and functions ------------------ + help[usage]='Displays a summary of usage.' command_usage() { @@ -178,8 +180,6 @@ command_readme() { done < <(printf "%s\n" "${!help[@]}" | LC_COLLATE=C sort) } -# --------------------- completion and delegation -------------------- -# (better than . <(foo bloated_completion) in .bashrc) _help_title() { _filter "$@" && return $?; @@ -210,6 +210,9 @@ _buffer() { "${FUNCNAME[1]}" "$(