zoxide/man/man1/zoxide-add.1

25 lines
901 B
Groff
Raw Normal View History

2021-09-27 23:22:27 +00:00
.TH "ZOXIDE" "1" "2021-04-12" "" "zoxide"
2021-04-15 13:47:15 +00:00
.SH NAME
2021-09-27 23:22:27 +00:00
\fBzoxide-add\fR - add a new directory or increment its rank
2021-04-15 13:47:15 +00:00
.SH SYNOPSIS
2021-09-27 23:22:27 +00:00
.B zoxide add [PATHS]
2021-04-15 13:47:15 +00:00
.SH DESCRIPTION
If the directory is not already in the database, this command creates a new
2021-09-27 23:22:27 +00:00
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. After this, it runs the \fBAGING\fR algorithm on the database. See
2021-04-15 13:47:15 +00:00
\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
2021-05-26 21:04:01 +00:00
Print help information.
2021-04-15 13:47:15 +00:00
.SH REPORTING BUGS
For any issues, feature requests, or questions, please visit:
.sp
2021-09-27 23:22:27 +00:00
\fBhttps://github.com/ajeetdsouza/zoxide/issues\fR.
2021-04-15 13:47:15 +00:00
.SH AUTHOR
2021-09-27 23:22:27 +00:00
Ajeet D'Souza <\fB98ajeet@gmail.com\fR>