zoxide-add - Man Page

add a new directory or increment its rank


zoxide add [PATHS]


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. After this, it runs the AGING algorithm on the database. See zoxide(1) for more about the algorithm.

If you'd like to prevent a directory from being added to the database, see the _ZO_EXCLUDE_DIRS environment variable in zoxide(1).


-h, ā€‰--help

Print help information.

Reporting Bugs

For any issues, feature requests, or questions, please visit:



Ajeet D'Souza <98ajeet@gmail.com>

Referenced By


2021-04-12 zoxide