A command-line tool that learns your most-used directories and enables fast navigation with fuzzy matching.
autojump is a command-line tool that speeds up directory navigation by learning which folders you use most frequently. It replaces repetitive `cd` commands with quick jumps using partial directory names, making terminal workflow more efficient. The tool builds a weighted database of visited directories and allows fuzzy matching to navigate instantly.
Developers, system administrators, and power users who spend significant time in the terminal and want to optimize their filesystem navigation workflow.
It dramatically reduces time spent typing paths or using tab completion by learning user behavior and enabling intuitive, fast directory access. Unlike traditional navigation methods, autojump adapts to individual usage patterns.
A cd command that learns - easily navigate directories from the command line
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Autojump automatically tracks and weights directories based on usage frequency, making navigation progressively faster as it learns your habits. Evidence: The database shows weighted entries like '30 /home/user/mail/inbox' in the examples.
Allows jumping to directories using partial names, reducing typing effort. For example, 'j proj' can match any directory containing 'proj', as shown in the usage section.
Commands like 'jc' and 'jco' prioritize child directories, which is useful for quickly diving into subfolders without full paths. This is explicitly demonstrated with 'jc foo' for preferring child directories.
Can open directories in GUI file managers (e.g., Finder, Explorer) using 'jo' and 'jco', bridging command-line and graphical navigation seamlessly. The README specifies this for opening file explorer windows.
Enables refining jumps with multiple keywords to distinguish between similarly named directories. For instance, 'j w in' selects work/inbox over mail/inbox when both contain 'in', as illustrated in the usage examples.
Shells like fish and tcsh are only community supported, meaning they may have bugs or lack timely updates compared to first-class bash and zsh support. The README states that community items are updated based on pull requests.
Directories must be visited at least once before they can be jumped to, so autojump is ineffective until the database is populated. This is explicitly noted: 'Directories must be visited first before they can be jumped to.'
For platforms like Windows or BSD, installation is community supported and may require additional steps, such as installing clink for Windows. The README indicates that only first-class support items are maintained by primary committers.
In bash, autojump modifies $PROMPT_COMMAND, which can conflict with user customizations if not handled properly. The known issues section warns against overwriting $PROMPT_COMMAND and suggests appending instead.