diff --git a/.config/bash/module/Help.sh b/.config/bash/module/Help.sh index ceb98df..1f36e86 100644 --- a/.config/bash/module/Help.sh +++ b/.config/bash/module/Help.sh @@ -8,7 +8,7 @@ function help() { return 2 fi - sed -e '$s/$/\n/' -s "${BASH_MODULE_PATH}"/* | sed -n -e "/function ${fun}()/q;p" | tac | sed -n -e "/^$/q;p" | tac | sed -e "s/^# \+//" + sed -e '$s/$/\n/' -s "${BASH_MODULE_PATH}"/* | sed -n -e "/function ${fun}()/q;p" | tac | sed -n -e "/^$/q;p" | tac | sed -e "s/^# \+//" -e "\$i \ " } # Short for help.