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
  • #117
Closed
Open
Issue created Apr 07, 2012 by William Ting@wtingOwner

Jumping to a unique directory when in that directory throws an error.

Steps to reproduce:

  • create a uniquely named directory:

    mkdir abcdefg
  • enter directory to add entry into database:

    cd abcdefg
  • leave directory, then jump to it (works as expected):

    cd; j abcdefg
  • jump to the same directory again:

    j abcdefg
    autojump: directory 'abcdefg' not found
    Try `autojump --help` for more information.

The correct behavior should be jumping back into the same directory (or doing nothing).

It's not as simple as modifying the j function because autojump returns an empty string for both highest weight match (i.e. autojump abcdefg) and missing entries (i.e. autojump ffehiofeahfieoa).

Assignee
Assign to
Time tracking