Skip to content

Commit

Permalink
Merge pull request #126 from mgkurtz/reproducible
Browse files Browse the repository at this point in the history
Make zsh completion reproducible
  • Loading branch information
wtsnjp authored Feb 7, 2025
2 parents 1a103b6 + 91b8288 commit 8709e47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/texdoclib-util.tlu
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ function M.print_zsh_completion()
elseif type(opt['complete']) == 'table' then
choices = opt['complete']
end
table.sort(choices)
complete = '(' .. table.concat(choices, ' ') .. ')'
if opt['complete'] == 'files' then
opt['metavar'] = ' '
Expand Down

0 comments on commit 8709e47

Please sign in to comment.