From 09ebbb89ce6007a0bc692d6ae22a9e117fd48de4 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Sun, 28 Mar 2021 00:02:16 +0530 Subject: [PATCH] Changed hook instructions --- README.md | 4 ++-- templates/nushell.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e4393e7..f91d7c9 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/templates/nushell.txt b/templates/nushell.txt index 5fac436..7e356aa 100644 --- a/templates/nushell.txt +++ b/templates/nushell.txt @@ -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: