tldr-pages / tldr-python-client

:snake: Python command-line client for tldr pages 📚
https://pypi.org/project/tldr/
MIT License
603 stars 95 forks source link

Backslashes show up in autocomplete output on fedora #211

Open MasterOdin opened 1 year ago

MasterOdin commented 1 year ago

Hello, I'm not sure if this is the right place to report, but I'm currently experiencing problems with auto-completion after installing it via dnf install tldr, it is placing backslashes behind every space, which is trashing the completion into a single line of items.

tldr --update_cache
# tldr[TAB] adds one space normally
# tldr[TAB][TAB] shows every package available in a single line as if there was one completion option
tldr \ \ pacman\ query\ \ \ \ insmod\ \ \ \ st\ \ \ \ cockpit\ ws\ \ \ \ ntfsfix\ \ \ \ distrobox\ host\ exec\ \ \ \ ostree\ \ \ \ timeshift\ \ \ \ pamac\ \ \ \ uuid\ \ \ \ ip\ route\ list\ \ \ \ a2query\ \ \ \ daemon\ \ \ \ pw\ play\ \ \ \ mkinitcpio\ \ \ \ id3v2\ \ \ \ at\ \ \ \ ego\ \ \ \ sacctmgr\ \ \ \ smbclient\ \ \ \ sar\ \ \ \ toolbox\ init\ container\ \ \ \ pmount\ \ \ \ nmcli

System information:

Originally posted by @jrom99 in https://github.com/tldr-pages/tldr-python-client/issues/69#issuecomment-1525989777

nukemiko commented 9 months ago

Reproducted this problem with: Arch Linux, tldr-3.2.0-1, bash-5.2.026-2