Update README.md

This commit is contained in:
Ajeet D'Souza 2024-09-20 20:41:06 +05:30 committed by GitHub
parent 993500804d
commit fec4512db2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -408,11 +408,11 @@ When calling `zoxide init`, the following flags are available:
- `--cmd cd` would replace the `cd` command.
- `--hook <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 |
| 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