Forrest logo
back to the zoxide tool

zoxide:tldr:15c04

zoxide: Go to the highest-ranked directory that contains "foo" and then "bar".
$ zoxide query ${foo} ${bar}
try on your machine

This command uses the utility called "zoxide" to perform a query using two variables, ${foo} and ${bar}.

In specific terms, zoxide is a command-line tool used to navigate directories efficiently. It keeps track of your most frequently visited directories and allows you to quickly switch between them using a smart matching algorithm.

The query command in zoxide is used to search for directories based on a specific pattern or query. In this case, ${foo} and ${bar} are placeholders for the actual values of the variables.

To use this command, you would substitute ${foo} and ${bar} with the desired values you want to query in the directories tracked by zoxide. The command will then search for directories that match the provided pattern or query.

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