zoxide
Keep track of the most frequently used directories. Uses a ranking algorithm to navigate to the best match. More information: https://github.com/ajeetdsouza/zoxide.
-
Go to the highest-ranked directory that contains "foo" in the name:
zoxide query {{foo}}
-
Go to the highest-ranked directory that contains "foo" and then "bar":
zoxide query {{foo}} {{bar}}
-
Start an interactive directory search (requires
fzf
):
zoxide query --interactive
-
Add a directory or increment its rank:
zoxide add {{path/to/directory}}
-
Remove a directory from
zoxide
's database interactively:
zoxide remove {{path/to/directory}} --interactive
-
Generate shell configuration for command aliases (
z
,za
,zi
,zq
,zr
):
zoxide init {{bash|fish|zsh}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.