Navita is a Bash/Zsh utility for rapid directory traversal, employing fuzzy matching, history tracking, and path validation for efficient file system navigation.
Navita aims to simplify your command-line experience. The powerful Bash tool uses fuzzy search to get you to your destination in seconds.
The software uses fzf, grep, bc, find, less and the Core utilities.
This is free and open source software.
Key Features
- Usual directory change
- Search the history and directly navigate to the highest-ranked matching directory. The current working directory will not be considered in the search.
- Navigate directories the same way you would with the usual built-in cd command.
- Search and traverse child directories – recursively search subdirectories, excluding
.gitand its subdirectories, and navigate to the selected one - Search and traverse parent directories – search directories one level below the parent directories and navigate to the desired one. The current working directory will not be considered in the search.
- Search and traverse history – search your recently visited directories and select the desired one. The current working directory will not be considered in the search.
- View history – view Navita’s history of visited directories. The history will be displayed in the
lesspager, or directly to STDOUT if it fits on a single screen. The output will be sorted based on time, frequency, or by score. - Toggle current and previous directories – switch between your current directory and the previous directory you were in. The previous directory is specific to the current shell.
- Clean-up history – choose to either remove invalid paths from the history or clear the entire history. However, Navita will automatically remove non-existent and non-executable directories.
- Tab completion:
- Supports Tab completion for its options and directories.
- Path exclusion for history:
- Prevent paths that match any regular expression pattern in the $NAVITA_IGNOREFILE file from being added to the history.
- Automatically prevents the .git and $HOME directories from being added to the history by default.
- Frecency directory ranking – ranks directories based on a combination of two factors:
- Frequency (how often a directory is accessed) and,
- Recency (how recently it was accessed).
- Aging – directory paths are forgotten based on a few conditions.
Website: github.com/CodesOfRishi/navita
Support:
Developer: Rishi K.
License: Apache License 2.0
Navita is written in Bash. Learn Bash with our recommended free books and free tutorials.
Related Software
| Shell tools | |
|---|---|
| fzf | Command-line fuzzy finder for your shell |
| zoxide | Smarter cd command, inspired by z and autojump |
| broot | Reviewed under our Excellent Utilities series |
| McFly | Also reviewed under our Excellent Utilities series |
| z | Maintains a jump-list of the directories you actually use |
| autojump | Offers a fast way to navigate your filesystem |
| z.lua | Helps you navigate faster by learning your habits |
| HSTR | Bash and zsh shell history suggest box |
| enhancd | Next-generation cd command |
| fzy | Simple, fast fuzzy finder for the terminal |
| Navita | Rapid directory traversal |
| Jump | Quick and fuzzy directory jumper |
| walk | Simple and minimalistic terminal navigator |
| lacy | cd alternative that makes navigating much more efficient |
| DF-SHOW | Directory File Show |
| fz | Adds fuzzy search to tab completion of z |
| v | z for vim |
| pazi | Fast autojump helper |
| jumper | Files/directories jumper |
| cdhist | Linux shell cd history directory stack |
| icd | Shell utility that makes changing directories quicker and more convenient |
| fasd | Command-line productivity booster. It seeks inspiration from autojump, z and v |
| kn | Navigate folders quickly |
| Dongle | Move around deep directory trees |
| cdwe | cd with env vars |
| slingshot | Lightweight tool to browse files in the terminal |
| ff | Manage favourite folders |
| fastdiract | Quick shell navigation and command execution |
| zm | cd for lazy people |
| qcd | Quickly change directory |
| pm | Switch between projects |
| nav | Quickly navigate through directories |
| menucd | Directory browser and changer |
| jmp | The superior cd |
| gump | Smarter cd command |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

