Skip to content

Commit

Permalink
cleanup from looking at github diff
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmealey committed Dec 13, 2024
1 parent c794484 commit 5d39ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion completions/_trurl.zsh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions completions/generate_completions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5d39ca6

Please sign in to comment.