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

Fuzzy file matching fails (regression?) #159

Closed
artfulrobot opened this issue Jan 4, 2021 · 2 comments
Closed

Fuzzy file matching fails (regression?) #159

artfulrobot opened this issue Jan 4, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@artfulrobot
Copy link

Environment

  • zsh-autocomplete version: c7426be9e859e049747114818fa9107ecebe11b9
  • Zsh version: ubuntu/5.8-3ubuntu1
  • Framework:none
  • Plugin manager: Antigen

Please test if the bug occurs without config files:

$ cd $(mktemp -d)  # Create a temp dir and enter it.
$ ZDOTDIR=$PWD HOME=$PWD zsh -f  # Start a subshell in it without config files.
% source path/to/zsh-autocomplete.plugin.zsh  # Source the plugin.
% # Insert here the steps you take to reproduce your bug.

Does the bug occur without config files?

  • YES

Steps to reproduce, including actual and expected behaviour

% cd $(mktemp -d) ; ZDOTDIR=$PWD HOME=$PWD zsh -f 
laptop% source /home/rich/.antigen/bundles/marlonrichert/zsh-autocomplete/zsh-autocomplete.plugin.zsh
laptop% 
laptop% ls
laptop% touch ar{1,2} ar-2020-{1,2,3,4}
laptop% ls
ar1  ar2  ar-2020-1  ar-2020-2 ar-2020-3  ar-2020-4
laptop% ls ar4  ➊
file
ar1  ar2
laptop% ls ar23 ➋
file
ar2
laptop% ls 4 ➌
No files, local directory, ancestor directory or file completions found.

I would have expected:

  • ➊ to list ar-2020-4
  • ➋ to list ar-2020-3
  • ➌ to list ar-2020-4

Previous working version was c7426be, so I think this is a bug?

@artfulrobot artfulrobot added the bug Something isn't working label Jan 4, 2021
marlonrichert added a commit that referenced this issue Jan 4, 2021
@marlonrichert
Copy link
Owner

Sorry about that. Should be fixed now.

@artfulrobot
Copy link
Author

@marlonrichert working great again! Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants