From 5d39ca6475b64ead631d9323511144d01c523f16 Mon Sep 17 00:00:00 2001 From: Jacob Mealey Date: Fri, 13 Dec 2024 14:54:08 -0500 Subject: [PATCH] cleanup from looking at github diff --- completions/_trurl.zsh.in | 2 +- completions/generate_completions.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/completions/_trurl.zsh.in b/completions/_trurl.zsh.in index 4a84a01b..a0350917 100644 --- a/completions/_trurl.zsh.in +++ b/completions/_trurl.zsh.in @@ -5,7 +5,7 @@ # standalone flags - things that have now follow on standalone_flags=(@TRURL_STANDALONE_FLAGS@) -#component options - flags that expected to come after them +# component options - flags that expected to come after them component_options=(@TRURL_COMPONENT_OPTIONS@) # components that take *something* as a param but we can't diff --git a/completions/generate_completions.sh b/completions/generate_completions.sh index 5d023a1a..feca87e2 100755 --- a/completions/generate_completions.sh +++ b/completions/generate_completions.sh @@ -47,13 +47,11 @@ for flag in $ALL_FLAGS; do done function generate_zsh() { - sed -e "s/@TRURL_RANDOM_OPTIONS@/${TRURL_RANDOM_OPTIONS}/g" \ - -e "s/@TRURL_STANDALONE_FLAGS@/${TRURL_STANDALONE_FLAGS}/g" \ + -e "s/@TRURL_STANDALONE_FLAGS@/${TRURL_STANDALONE_FLAGS}/g" \ -e "s/@TRURL_COMPONENT_OPTIONS@/${TRURL_COMPONENT_OPTIONS}/g" \ -e "s/@TRURL_COMPONENT_LIST@/${TRURL_COMPONENT_LIST}/g" \ ./completions/_trurl.zsh.in > ./completions/_trurl.zsh - } generate_zsh "$TRURL_RANDOM_OPTIONS"