mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 23:55:24 +02:00
z.md: add page (#1442)
This commit is contained in:
parent
6f55ac0dec
commit
3cc612800e
1 changed files with 27 additions and 0 deletions
27
pages/common/z.md
Normal file
27
pages/common/z.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# z
|
||||
|
||||
> Tracks your most used directories and enable quick jumping using regexes from the command line.
|
||||
|
||||
- Go to a directory that contains foo:
|
||||
|
||||
`z {{foo}}`
|
||||
|
||||
- Go to a directory that contains foo and then bar:
|
||||
|
||||
`z {{foo}} {{bar}}`
|
||||
|
||||
- Go to the highest ranked directory matching foo:
|
||||
|
||||
`z -r {{foo}}`
|
||||
|
||||
- Go to the most recently accessed directory matching foo:
|
||||
|
||||
`z -t {{foo}}`
|
||||
|
||||
- List all directories matching foo (from z database):
|
||||
|
||||
`z -l {{foo}}`
|
||||
|
||||
- Remove the current directory from the database:
|
||||
|
||||
`z -x .`
|
Loading…
Add table
Reference in a new issue