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
  • #182
Closed
Open
Issue created Feb 13, 2013 by Administrator@rootContributor

Do not exit with error status in case of no directory change

Created by: blueyed

As stated in https://github.com/joelthelion/autojump/issues/167#issuecomment-11489846 the internals of autojump changed, so that it might now return with an error status, in case the current directory stays the same (but matches).

Just a minor annoyance, and I mainly wanted to get it out of the other ticket.

TEST CASE:

1. mkdir /tmp/foobarbaz
2. cd /tmp/foobarbaz
3. cd
4. j foobar
  => goes to /tmp/foobarbaz
5. j foobar
  => ERROR:
autojump: directory 'foobar' not found
Try `autojump --help` for more information.
Assignee
Assign to
Time tracking