Skip to content

fix zsh auto complete function issue, and update the readme file about a fast way to enable zsh completion. #494

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

maomh
Copy link

@maomh maomh commented Jun 1, 2025

fix zsh auto complete function issue.

Description

I got error when i use the auto-complete function on my Mbp and Fedora zsh.
This is the error message:
屏幕截图_20250602_032828
I looked at the source code and found that this was caused by special characters, so I fixed it directly.

Checklist

Please review this checklist before submitting a pull request.

  • Code compiles correctly
  • Created tests, if possible
  • All tests passing (npm run test:all)
  • Extended the README / documentation, if necessary

pages=$(tldr -a1)
platforms='( android freebsd linux netbsd openbsd osx sunos windows )'

# a lot of special characters in the tldr pages names
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# a lot of special characters in the tldr pages names
# there is a lot of special characters in the tldr pages names

@spageektti
Copy link
Member

Hi. Thank you so much for your contribution. Unfortunately I am not maintainer of this particular client so I can't approve your PR.

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.

2 participants