Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1972, Add zsh completion script #2031

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Freed-Wu
Copy link

I create a zsh completion script. However, A better solution is use a data structure to store option information, like https://github.com/TeX-Live/texdoc/blob/master/script/texdoclib-const.tlu#L77-L260,
then generate help message and shell completion from a template: https://github.com/TeX-Live/texdoc/blob/master/script/texdoclib-const.tlu#L30-L51, https://github.com/TeX-Live/texdoc/blob/master/script/texdoclib-const.tlu#L53-L75. But I am not very familiar with C. 😢 So if anyone want to this solution, they can use this file as a template.

@Freed-Wu Freed-Wu force-pushed the master branch 2 times, most recently from cab8011 to 3c239da Compare February 20, 2023 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant