Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A autojump
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 158
    • Issues 158
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • William Ting
  • autojump
  • Issues
  • #669
Closed
Open
Issue created Nov 29, 2022 by Schalk Neethling@schalkneethling

possible bug when search string starts with all

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)

Assignee
Assign to
Time tracking