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

Tab-completion fails when looking for some special strings in aliases ("less", "more" and "dir") #5285

Open
Harding-Stardust opened this issue Feb 21, 2024 · 1 comment

Comments

@Harding-Stardust
Copy link

Harding-Stardust commented Feb 21, 2024

Steps to Reproduce

type in xonsh:

"less" in ali
  1. press tab.

Expected behavior: the commandline should read:

"less" in aliases

What happens: No autocompletion is done.

Note: This happens for "more" in ali and "dir" in ali also but works as expected for almost every other string I have tested with. Example: "dirr" in ali --> "dirr" in aliases

EDIT: Seems that all of the keys in the aliases dict cause the same behavior.



<+------------------+---------------------------+
| xonsh            | 0.14.4                    |
| Python           | 3.12.1                    |
| PLY              | 3.11                      |
| have readline    | False                     |
| prompt toolkit   | 3.0.43                    |
| shell type       | prompt_toolkit            |
| history backend  | json                      |
| pygments         | 2.17.2                    |
| on posix         | False                     |
| on linux         | False                     |
| on darwin        | False                     |
| on windows       | True                      |
| on cygwin        | False                     |
| on msys2         | False                     |
| is superuser     | False                     |
| default encoding | utf-8                     |
| xonsh encoding   | utf-8                     |
| encoding errors  | surrogateescape           |
| xontrib 1        | coreutils                 |
| RC file 1        | C:\Users\<redacted>/.xonshrc |
+------------------+---------------------------+

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

@anki-code
Copy link
Member

anki-code commented Feb 22, 2024

Thank you for using and testing xonsh on Windows!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants