documentation

This commit is contained in:
rupa committed 2011-08-03 16:41:37 -04:00
1 parent a0f58616ec
commit 4d8210e8e8
2 files changed
+39 -5

No files matched your search

+20 -4
View File
@@ -60,16 +60,32 @@ NOTES
optionally:
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 is a portmantaeu of 'recent' and 'frequency'. It is a weighted
rank that depends on how often and how recently something occured. As far
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 know, Mozilla came up with the term.
In 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
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
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
z supports tab completion. After any number of arguments, press TAB to
+19 -1
View File
@@ -61,15 +61,33 @@ optionally:
install the provided man page \fBz.1\fR somewhere like \fB/usr/local/man/man1\fB.
.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
.P
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
know, Mozilla came up with the term.
.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
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
\fBTab Completion\fR