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"