projects
/
gamesguru
/
git-remote-gcrypt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52096f2
)
macOS fix
author
Shane Jaroch
<chown_tee@proton.me>
Sat, 17 Jan 2026 06:46:00 +0000
(
01:46
-0500)
committer
Shane Jaroch
<chown_tee@proton.me>
Sat, 17 Jan 2026 06:46:00 +0000
(
01:46
-0500)
completions/gen_docs.sh
patch
|
blob
|
history
diff --git
a/completions/gen_docs.sh
b/completions/gen_docs.sh
index d73b41b1ee6357fdfb691d59e17af2ecc53cf475..8cd02dfa8c111caed51f1ae6a02b5907a08e7ed7 100755
(executable)
--- a/
completions/gen_docs.sh
+++ b/
completions/gen_docs.sh
@@
-164,7
+164,8
@@
sed "s/{commands}/$COMMANDS_LIST/" "$ZSH_TMPL" \
echo "Generating Fish completions..."
# Fish needs {not_sc_list} which matches {commands} (space separated)
# Use awk for safe replacement of multi-line string
-awk -v cmds="$COMMANDS_LIST" -v flags="$CLEAN_FLAGS_FISH" '
+CLEAN_FLAGS_FISH="$CLEAN_FLAGS_FISH" awk -v cmds="$COMMANDS_LIST" '
+ BEGIN { flags=ENVIRON["CLEAN_FLAGS_FISH"] }
{
gsub(/{not_sc_list}/, cmds)
gsub(/{clean_flags_fish}/, flags)