mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-22 04:45:20 +00:00
Upgrade Nushell to v0.73.0 (#495)
This commit is contained in:
parent
f74873b803
commit
e8c5f7a975
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Fzf: 'invalid option' on macOS.
|
||||
- PowerShell: handle UTF-8 encoding correctly.
|
||||
- Zsh: don't hide output from `chpwd` hooks.
|
||||
- Nushell: upgrade minimum supported version to v0.73.0.
|
||||
|
||||
## [0.8.3] - 2022-09-02
|
||||
|
||||
|
@ -204,7 +204,7 @@ zoxide init fish | source
|
||||
Add this to your env file (find it by running `$nu.env-path` in Nushell):
|
||||
|
||||
```sh
|
||||
zoxide init nushell | save ~/.zoxide.nu
|
||||
zoxide init nushell | save -f ~/.zoxide.nu
|
||||
```
|
||||
|
||||
Now, add this to the end of your config file (find it by running
|
||||
@ -215,7 +215,7 @@ source ~/.zoxide.nu
|
||||
```
|
||||
|
||||
> **Note**
|
||||
> zoxide only supports Nushell v0.63.0 and above.
|
||||
> zoxide only supports Nushell v0.73.0 and above.
|
||||
|
||||
</details>
|
||||
|
||||
|
@ -35,7 +35,7 @@ Note: zoxide only supports fish v3.4.0 and above.
|
||||
Add this to your env file (find it by running \fB$nu.env-path\fR in Nushell):
|
||||
.sp
|
||||
.nf
|
||||
\fBzoxide init nushell --hook prompt | save ~/.zoxide.nu\fR
|
||||
\fBzoxide init nushell --hook prompt | save -f ~/.zoxide.nu\fR
|
||||
.fi
|
||||
.sp
|
||||
Now, add this to the end of your config file (find it by running
|
||||
@ -45,7 +45,7 @@ Now, add this to the end of your config file (find it by running
|
||||
\fBsource ~/.zoxide.nu\fR
|
||||
.fi
|
||||
.sp
|
||||
Note: zoxide only supports Nushell v0.63.0 and above.
|
||||
Note: zoxide only supports Nushell v0.73.0 and above.
|
||||
.TP
|
||||
.B powershell
|
||||
Add this to your configuration (find it by running \fBecho $profile\fR in
|
||||
|
@ -39,7 +39,7 @@ let-env config = ($env.config | update hooks.env_change.PWD ($env.config.hooks.e
|
||||
def-env __zoxide_z [...rest:string] {
|
||||
# `z -` does not work yet, see https://github.com/nushell/nushell/issues/4769
|
||||
let arg0 = ($rest | append '~').0
|
||||
let path = if (($rest | length) <= 1) && ($arg0 == '-' || ($arg0 | path expand | path type) == dir) {
|
||||
let path = if (($rest | length) <= 1) and ($arg0 == '-' or ($arg0 | path expand | path type) == dir) {
|
||||
$arg0
|
||||
} else {
|
||||
(zoxide query --exclude $env.PWD -- $rest | str trim -r -c "\n")
|
||||
@ -77,11 +77,11 @@ alias {{cmd}}i = __zoxide_zi
|
||||
{{ section }}
|
||||
# Add this to your env file (find it by running `$nu.env-path` in Nushell):
|
||||
#
|
||||
# zoxide init nushell --hook prompt | save ~/.zoxide.nu
|
||||
# zoxide init nushell --hook prompt | save -f ~/.zoxide.nu
|
||||
#
|
||||
# Now, add this to the end of your config file (find it by running
|
||||
# `$nu.config-path` in Nushell):
|
||||
#
|
||||
# source ~/.zoxide.nu
|
||||
#
|
||||
# Note: zoxide only supports Nushell v0.63.0 and above.
|
||||
# Note: zoxide only supports Nushell v0.73.0 and above.
|
||||
|
Loading…
Reference in New Issue
Block a user