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> <details>
<summary>Nushell</summary> <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 ```text
startup = ["zoxide init nushell --hook prompt | save ~/.zoxide.nu", "source ~/.zoxide.nu"] zoxide init nushell --hook prompt | save ~/.zoxide.nu
source ~/.zoxide.nu
``` ```
Note: zoxide only supports Nushell v0.59.0 and above. 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 .fi
.TP .TP
.B nushell .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): Nushell):
.sp .sp
.nf .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 .fi
.sp .sp
Note: zoxide only supports Nushell v0.59.0 and above. Note: zoxide only supports Nushell v0.59.0 and above.