documentation
This commit is contained in:
1 parent
a0f58616ec
commit
4d8210e8e8
2 files changed
+39
-5
No files matched your search
@@ -60,16 +60,32 @@ NOTES
|
|||||||
optionally:
|
optionally:
|
||||||
install the provided man page z.1 somewhere like /usr/local/man/man1.
|
install the provided man page z.1 somewhere like /usr/local/man/man1.
|
||||||
|
|
||||||
|
Aging:
|
||||||
|
|
||||||
|
The rank of directories maintained by z undergoes aging based on a simple
|
||||||
|
formula. Each the rank of each entry is incremented by 1 every time it is
|
||||||
|
accessed. When the sum total of ranks is greater than 1000, all ranks are
|
||||||
|
multiplied by 0.9. Entries with a rank lower than 1 are forgotten.
|
||||||
|
|
||||||
Frecency:
|
Frecency:
|
||||||
|
|
||||||
Frecency is a portmantaeu of 'recent' and 'frequency'. It is a weighted
|
Frecency is a portmantaeu of 'recent' and 'frequency'. It is a weighted
|
||||||
rank that depends on how often and how recently something occured. As far
|
rank that depends on how often and how recently something occured. As far
|
||||||
as I know, Mozilla came up with the term.
|
as I know, Mozilla came up with the term.
|
||||||
|
|
||||||
In z, a directory that has low ranking but has been accessed recently will
|
To z, a directory that has low ranking but has been accessed recently will
|
||||||
quickly have higher rank than a directory accessed frequently a long time
|
quickly have higher rank than a directory accessed frequently a long time
|
||||||
ago.
|
ago.
|
||||||
|
|
||||||
|
Frecency is determined at runtime.
|
||||||
|
|
||||||
|
Common:
|
||||||
|
|
||||||
|
When multiple directories match all queries, z will cd to the shortest
|
||||||
|
matching directory, without regard to priority. This has been in effect,
|
||||||
|
if undocumented, for quite some time, and it is the opinion of the author
|
||||||
|
that it is intuitive behavior.
|
||||||
|
|
||||||
Tab Completion
|
Tab Completion
|
||||||
|
|
||||||
z supports tab completion. After any number of arguments, press TAB to
|
z supports tab completion. After any number of arguments, press TAB to
|
||||||
|
|||||||
@@ -61,15 +61,33 @@ optionally:
|
|||||||
install the provided man page \fBz.1\fR somewhere like \fB/usr/local/man/man1\fB.
|
install the provided man page \fBz.1\fR somewhere like \fB/usr/local/man/man1\fB.
|
||||||
.br
|
.br
|
||||||
|
|
||||||
|
\fBAging:\fR
|
||||||
|
.P
|
||||||
|
The rank of directories maintained by \fBz\fR undergoes aging based on a simple
|
||||||
|
formula. Each the rank of each entry is incremented by 1 every time it is
|
||||||
|
accessed. When the sum total of ranks is greater than 1000, all ranks are
|
||||||
|
multiplied by 0.9. Entries with a rank lower than 1 are forgotten.
|
||||||
|
.br
|
||||||
|
|
||||||
\fBFrecency:\fR
|
\fBFrecency:\fR
|
||||||
.P
|
.P
|
||||||
Frecency is a portmantaeu of 'recent' and 'frequency'. It is a weighted rank
|
Frecency is a portmantaeu of 'recent' and 'frequency'. It is a weighted rank
|
||||||
that depends on how often and how recently something occured. As far as I
|
that depends on how often and how recently something occured. As far as I
|
||||||
know, Mozilla came up with the term.
|
know, Mozilla came up with the term.
|
||||||
.P
|
.P
|
||||||
In \fBz\fR, a directory that has low ranking but has been accessed recently
|
To \fBz\fR, a directory that has low ranking but has been accessed recently
|
||||||
will quickly have higher rank than a directory accessed frequently a long time
|
will quickly have higher rank than a directory accessed frequently a long time
|
||||||
ago.
|
ago.
|
||||||
|
|
||||||
|
Frecency is determined at runtime.
|
||||||
|
.br
|
||||||
|
|
||||||
|
\fBCommon:\fR
|
||||||
|
.P
|
||||||
|
When multiple directories match all queries, \fBz\fR will cd to the shortest
|
||||||
|
matching directory, without regard to priority. This has been in effect, if
|
||||||
|
undocumented, for quite some time, and it is the opinion of the author that it
|
||||||
|
is intuitive behavior.
|
||||||
.br
|
.br
|
||||||
|
|
||||||
\fBTab Completion\fR
|
\fBTab Completion\fR
|
||||||
|
|||||||
Reference in new issue
Block a user