From fccefe4df25566bc42b6e9b79f7010ee974d96f1 Mon Sep 17 00:00:00 2001 From: rwxrob Date: Tue, 10 Aug 2021 18:59:04 -0400 Subject: [PATCH] Add better separators for cut and paste --- command | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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]}" "$(