Update docs

This commit is contained in:
Ajeet D'Souza 2022-03-08 04:12:22 +05:30
parent 18965c177a
commit 48cec6a7eb
2 changed files with 8 additions and 5 deletions

View File

@ -189,10 +189,12 @@ zoxide init fish | source
<details>
<summary>Nushell</summary>
Add this to your configuration (find it by running `config path` in Nushell):
Add this to your configuration (find it by running `$nu.config-path` in
Nushell):
```toml
startup = ["zoxide init nushell --hook prompt | save ~/.zoxide.nu", "source ~/.zoxide.nu"]
```text
zoxide init nushell --hook prompt | save ~/.zoxide.nu
source ~/.zoxide.nu
```
Note: zoxide only supports Nushell v0.59.0 and above.

View File

@ -30,11 +30,12 @@ Add this to your configuration (usually \fB~/.config/fish/config.fish\fR):
.fi
.TP
.B nushell
Add this to your configuration (find it by running \fBconfig path\fR in
Add this to your configuration (find it by running \fB$nu.config-path\fR in
Nushell):
.sp
.nf
\fBstartup = ["zoxide init nushell --hook prompt | save ~/.zoxide.nu", "source ~/.zoxide.nu"]\fR
\fBzoxide init nushell --hook prompt | save ~/.zoxide.nu\fR
\fBsource ~/.zoxide.nu\fR
.fi
.sp
Note: zoxide only supports Nushell v0.59.0 and above.