Update
This commit is contained in:
parent
cc4bbb63d3
commit
5ac3e3201d
|
|
@ -5,12 +5,13 @@ zoxide-add - add a new directory or increment its rank
|
|||
.B zoxide add \fIPATH\fR
|
||||
.SH DESCRIPTION
|
||||
If the directory is not already in the database, this command creates a new
|
||||
entry for it with a default score of 1, otherwise, it increments the existing
|
||||
score by 1. It then sets the last updated field of the entry to the current
|
||||
time.
|
||||
.sp
|
||||
After this, it runs the \fBAGING\fR algorithm on the database. See
|
||||
entry for it with a default score of \fI1\fR, otherwise, it increments the
|
||||
existing score by \fI1\fR. It then sets the last updated field of the entry to the
|
||||
current time. After this, it runs the \fBAGING\fR algorithm on the database. See
|
||||
\fBzoxide\fR(1) for more about the algorithm.
|
||||
.sp
|
||||
If you'd like to prevent a directory from being added to the database, see the
|
||||
\fB_ZO_EXCLUDE_DIRS\fR environment variable in \fBzoxide\fR(1).
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B -h, --help
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
zoxide-remove - remove a directory from the database
|
||||
.SH SYNOPSIS
|
||||
.B zoxide remove \fIPATH [OPTIONS]\fR
|
||||
.SH DESCRIPTION
|
||||
If you'd like to permanently exclude a directory from the database, see the
|
||||
\fB_ZO_EXCLUDE_DIRS\fR environment variable in \fBzoxide\fR(1).
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B -h, --help
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ When set to \fI1\fR, z will print the matched directory before navigating
|
|||
to it.
|
||||
.TP
|
||||
.B _ZO_EXCLUDE_DIRS
|
||||
Excludes the specified directories from the database. This is provided as a
|
||||
list of globs, separated by OS-specific characters:
|
||||
Prevents the specified directories from being added to the database. This is
|
||||
provided as a list of globs, separated by OS-specific characters:
|
||||
.TS
|
||||
tab(|);
|
||||
l l.
|
||||
|
|
@ -83,6 +83,9 @@ l l.
|
|||
T}
|
||||
Windows|\fI;\fR eg. $HOME;$HOME/private/*
|
||||
.TE
|
||||
.sp
|
||||
After setting this up, you might need to use \fBzoxide-remove\fR(1) to remove
|
||||
any existing entries from the database.
|
||||
.TP
|
||||
.B _ZO_FZF_OPTS
|
||||
Custom options to pass to fzf. See \fBman fzf\fR for the list of options.
|
||||
|
|
|
|||
Loading…
Reference in New Issue