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

_typst compdef file for zsh autocompletion doesn't allow for path completion #4156

Open
Andrew15-5 opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working cli About Typst's command line interface.

Comments

@Andrew15-5
Copy link
Contributor

After running nix build I put _typst from result/share/zsh/site-functions/_typst into ~/.local/share/zsh/site-functions/_typst. Then after typing typst query I invoke autocompletion for the Typst file path but all I get is:

--  input -- Path to input Typst file, use `-` to read input from stdin --

I suspect that the file is missing some switch that allows for path autocompletion in that place. Since this file is being generated (I think), then the library that puts it together has an bug or the use of that library is incorrect.

@Enivex Enivex added bug Something isn't working cli About Typst's command line interface. labels May 24, 2024
@istudyatuni
Copy link
Contributor

istudyatuni commented Jun 2, 2024

This worked in 0.10. Bisect points to 70b354e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli About Typst's command line interface.
Projects
None yet
Development

No branches or pull requests

3 participants