mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
zoxide: add page (#3925)
This commit is contained in:
parent
58af8f8eb2
commit
8367cbac3c
1 changed files with 29 additions and 0 deletions
29
pages/common/zoxide.md
Normal file
29
pages/common/zoxide.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# 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/dir}}`
|
||||
|
||||
- Remove a directory from `zoxide`'s database:
|
||||
|
||||
`zoxide remove {{path/to/dir}}`
|
||||
|
||||
- Generate shell configuration for command aliases (`z`, `za`, `zi`, `zq`, `zr`):
|
||||
|
||||
`zoxide init {{bash|fish|zsh}}`
|
Loading…
Add table
Reference in a new issue