Change installation instructions

This commit is contained in:
Ajeet D'Souza 2022-04-22 13:01:01 +05:30
parent 23e6a923ee
commit e06c8308f9
4 changed files with 14 additions and 22 deletions

View File

@ -13,20 +13,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Manpages: moved to `man/man1/*.1`. - Manpages: moved to `man/man1/*.1`.
- Replace `--no-aliases` with `--no-cmd`. - Replace `--no-aliases` with `--no-cmd`.
- Nushell: upgrade minimum supported version to v0.60.0. - Elvish: upgrade minimum supported version to v0.18.0.
- Nushell: upgrade minimum supported version to v0.61.0.
### Fixed ### Fixed
- Bash/Zsh: rename `_z` completion function to avoid conflicts with other shell - Bash/Zsh: rename `_z` completion function to avoid conflicts with other shell
plugins. plugins.
- Elvish: upgrade to new lambda syntax.
- Fzf: added `--keep-right` option by default, upgrade minimum supported version - Fzf: added `--keep-right` option by default, upgrade minimum supported version
to v0.21.0. to v0.21.0.
- Bash: only enable completions on 4.4+. - Bash: only enable completions on 4.4+.
- Fzf: bypass `ls` alias in preview window. - Fzf: bypass `ls` alias in preview window.
- Retain ownership of database file. - Retain ownership of database file.
- Elvish: upgrade to new try-catch syntax, upgrade minimum supported version to
v0.18.0.
- `zoxide query --interactive` should not conflict with `--score`. - `zoxide query --interactive` should not conflict with `--score`.
## [0.8.0] - 2021-12-25 ## [0.8.0] - 2021-12-25

View File

@ -190,22 +190,20 @@ zoxide init fish | source
<details> <details>
<summary>Nushell</summary> <summary>Nushell</summary>
First, generate the Nushell initialization script (you may need to do this Add this to your env file (find it by running `$nu.env-path` in Nushell):
whenever you update Nushell):
```sh ```sh
zoxide init nushell --hook prompt | save ~/.zoxide.nu zoxide init nushell --hook prompt | save ~/.zoxide.nu
``` ```
Now, add this to your configuration (find it by running `$nu.config-path` in Now, add this to the end of your config file (find it by running
Nushell): `$nu.config-path` in Nushell):
```sh ```sh
zoxide init nushell --hook prompt | save ~/.zoxide.nu
source ~/.zoxide.nu source ~/.zoxide.nu
``` ```
Note: zoxide only supports Nushell v0.60.0 and above. Note: zoxide only supports Nushell v0.61.0 and above.
</details> </details>

View File

@ -30,22 +30,20 @@ Add this to your configuration (usually \fB~/.config/fish/config.fish\fR):
.fi .fi
.TP .TP
.B nushell .B nushell
First, generate the Nushell initialization script (you may need to do this Add this to your env file (find it by running \fB$nu.env-path\fR in Nushell):
whenever you update Nushell):
.sp .sp
.nf .nf
\fBzoxide init nushell --hook prompt | save ~/.zoxide.nu\fR \fBzoxide init nushell --hook prompt | save ~/.zoxide.nu\fR
.fi .fi
.sp .sp
Now, add this to your configuration (find it by running \fB$nu.config-path\fR in Now, add this to the end of your config file (find it by running
Nushell): \fB$nu.config-path\fR in Nushell):
.sp .sp
.nf .nf
\fBzoxide init nushell --hook prompt | save ~/.zoxide.nu\fR
\fBsource ~/.zoxide.nu\fR \fBsource ~/.zoxide.nu\fR
.fi .fi
.sp .sp
Note: zoxide only supports Nushell v0.60.0 and above. Note: zoxide only supports Nushell v0.61.0 and above.
.TP .TP
.B powershell .B powershell
Add this to your configuration (find it by running \fBecho $profile\fR in Add this to your configuration (find it by running \fBecho $profile\fR in

View File

@ -80,15 +80,13 @@ alias {{cmd}}i = __zoxide_zi
{%- endmatch %} {%- endmatch %}
{{ section }} {{ section }}
# To initialize zoxide, first generate the Nushell initialization script (you # Add this to your env file (find it by running `$nu.env-path` in Nushell):
# may need to do this whenever you update Nushell):
# #
# zoxide init nushell --hook prompt | save ~/.zoxide.nu # zoxide init nushell --hook prompt | save ~/.zoxide.nu
# #
# Now, add this to your configuration (find it by running `$nu.config-path` in # Now, add this to the end of your config file (find it by running
# Nushell): # `$nu.config-path` in Nushell):
# #
# zoxide init nushell --hook prompt | save ~/.zoxide.nu
# source ~/.zoxide.nu # source ~/.zoxide.nu
# #
# Note: zoxide only supports Nushell v0.60.0 and above. # Note: zoxide only supports Nushell v0.61.0 and above.