z
Tracks the most used (by frecency) directories and enables quickly navigating to them using string patterns or regular expressions. More information: https://github.com/rupa/z.
-
Go to a directory that contains "foo" in the name:
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 in
z's database matching "foo":
z -l {{foo}} -
Remove the current directory from
z's database:
z -x . -
Restrict matches to subdirectories of the current directory:
z -c {{foo}}
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.