Changed hook instructions

This commit is contained in:
Ajeet D'Souza 2021-03-28 00:02:16 +05:30
parent e64dc4c8c3
commit 09ebbb89ce
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ eval "$(zoxide init bash)"
Add the following line to your `~/.config/fish/config.fish`:
```sh
```fish
zoxide init fish | source
```
@ -136,7 +136,7 @@ zoxide init nushell --hook prompt | save ~/.zoxide.nu
Then, in your Nushell configuration file:
- Prepend `__zoxide_hook|` to your `prompt` variable.
- Prepend `__zoxide_hook;` to your `prompt` variable.
- Add the following two lines to your `startup` variable:
- `zoxide init nushell --hook prompt | save ~/.zoxide.nu`
- `source ~/.zoxide.nu`

View File

@ -91,7 +91,7 @@ alias {{cmd}}i = __zoxide_zi ''
# Step 2: In your Nushell configuration file, prepend this to the `prompt`
# variable:
#
# "__zoxide_hook | "
# "__zoxide_hook;"
#
# Step 3: In your Nushell configuration file, add the following lines to the
# `startup` variable: