From 993500804dc716488150d145d3e2134087100667 Mon Sep 17 00:00:00 2001 From: Peter Jeschke Date: Fri, 20 Sep 2024 09:59:50 +0200 Subject: [PATCH] Add note about the default hook behaviour --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b67aa4..6db8c8b 100644 --- a/README.md +++ b/README.md @@ -408,11 +408,11 @@ 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` | Whenever the directory is changed | + | 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