Forrest logo
back to the zoxide tool

zoxide:tldr:0ca68

zoxide: Start an interactive directory search (requires `fzf`).
$ zoxide query --interactive
try on your machine

The command "zoxide query --interactive" is used to interactively search and navigate your directory history using the zoxide command-line tool.

Zoxide is a directory jump tool that helps you quickly navigate through your filesystem by remembering directories you frequently visit. By using zoxide, you can access previous directories you've been to without having to remember their full path.

When running the zoxide query --interactive command, the following happens:

  1. The "query" subcommand is used to search for a directory based on specified criteria. In this case, the criteria are set interactively.
  2. The "--interactive" flag indicates that the search prompt should be interactive, allowing you to interactively type and filter the directories as you search for a particular one.
  3. After executing the command, you will see a prompt where you can input your search query.
  4. Start typing the name or part of the name of the directory you want to find. As you type, zoxide will narrow down the results based on your input.
  5. Press Enter when you find the desired directory, and zoxide will navigate you to that directory.

This command is useful when you have a large directory history and want to navigate to a specific directory without having to remember the full path. It provides a convenient and efficient way to search and jump to directories using a minimal amount of keystrokes.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the zoxide tool