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

possible bug when search string starts with all #669

Open
schalkneethling opened this issue Nov 29, 2022 · 0 comments
Open

possible bug when search string starts with all #669

schalkneethling opened this issue Nov 29, 2022 · 0 comments

Comments

@schalkneethling
Copy link

I have been using autojump for a long time without any problems, but I ran into my first possible bug today. When I do j all press tab and then enter, I get the following error:

➜ j all__
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/autojump/22.5.3_3/libexec/bin/autojump", line 342, in <module>
    sys.exit(main(parse_arguments()))
  File "/opt/homebrew/Cellar/autojump/22.5.3_3/libexec/bin/autojump", line 326, in main
    get_ith_path(
  File "/opt/homebrew/Cellar/autojump/22.5.3_3/libexec/bin/autojump", line 324, in <lambda>
    get_ith_path = lambda i, iterable: last(take(i, iterable)).path
AttributeError: 'NoneType' object has no attribute 'path'
autojump: directory 'all__' not found

Doing something like j mech followed by tab and enter works just fine. It seems that the character combination mentioned somehow trips up autojump.

I am on macOS Ventura, using iTerm with zsh 5.8.1 (x86_64-apple-darwin22.0)

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

No branches or pull requests

1 participant