2020-03-24 01:32:23 +00:00
|
|
|
# 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:
|
|
|
|
|
2020-10-28 17:19:43 +00:00
|
|
|
`zoxide add {{path/to/directory}}`
|
2020-03-24 01:32:23 +00:00
|
|
|
|
|
|
|
- Remove a directory from `zoxide`'s database:
|
|
|
|
|
2020-10-28 17:19:43 +00:00
|
|
|
`zoxide remove {{path/to/directory}}`
|
2020-03-24 01:32:23 +00:00
|
|
|
|
|
|
|
- Generate shell configuration for command aliases (`z`, `za`, `zi`, `zq`, `zr`):
|
|
|
|
|
|
|
|
`zoxide init {{bash|fish|zsh}}`
|