From b86e845d3a7270ea03eea97637be29f05be02685 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Mon, 10 Feb 2025 02:29:46 +0530 Subject: [PATCH] Markdown fmt --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cabf301..30fefa2 100644 --- a/README.md +++ b/README.md @@ -407,11 +407,13 @@ When calling `zoxide init`, the following flags are available: - `--cmd cd` would replace the `cd` command. - `--hook ` - Changes how often zoxide increments a directory's score: + | Hook | Description | | --------------- | --------------------------------- | | `none` | Never | | `prompt` | At every shell prompt | | `pwd` (default) | Whenever the directory is changed | + - `--no-cmd` - Prevents zoxide from defining the `z` and `zi` commands. - These functions will still be available in your shell as `__zoxide_z` and @@ -425,11 +427,13 @@ Environment variables[^2] can be used for configuration. They must be set before - `_ZO_DATA_DIR` - Specifies the directory in which the database is stored. - The default value varies across OSes: + | OS | Path | Example | | ----------- | ---------------------------------------- | ------------------------------------------ | | Linux / BSD | `$XDG_DATA_HOME` or `$HOME/.local/share` | `/home/alice/.local/share` | | macOS | `$HOME/Library/Application Support` | `/Users/Alice/Library/Application Support` | | Windows | `%LOCALAPPDATA%` | `C:\Users\Alice\AppData\Local` | + - `_ZO_ECHO` - When set to 1, `z` will print the matched directory before navigating to it. @@ -437,10 +441,12 @@ Environment variables[^2] can be used for configuration. They must be set before - Excludes the specified directories from the database. - This is provided as a list of [globs][glob], separated by OS-specific characters: + | OS | Separator | Example | | ------------------- | --------- | ----------------------- | | Linux / macOS / BSD | `:` | `$HOME:$HOME/private/*` | | Windows | `;` | `$HOME;$HOME/private/*` | + - By default, this is set to `"$HOME"`. - `_ZO_FZF_OPTS` - Custom options to pass to [fzf] during interactive selection. See