Changed hook instructions
This commit is contained in:
parent
e64dc4c8c3
commit
09ebbb89ce
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue