File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
### Fixed
13
13
14
14
- fish: detect infinite loop when using ` alias cd=z ` .
15
- - fish / PowerShell: handle queries that look like args (e.g. ` z -x ` ).
15
+ - fish / Nushell / PowerShell: handle queries that look like args (e.g. ` z -x ` ).
16
16
17
17
## [ 0.9.4] - 2024-02-21
18
18
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ if (not ($env | default false __zoxide_hooked | get __zoxide_hooked)) {
39
39
#
40
40
41
41
# Jump to a directory using only keywords.
42
- def --env __zoxide_z [...rest:string] {
42
+ def --env --wrapped __zoxide_z [...rest:string] {
43
43
let arg0 = ($rest | append '~').0
44
44
let path = if (($rest | length) <= 1) and ($arg0 == '-' or ($arg0 | path expand | path type) == dir) {
45
45
$arg0
@@ -53,7 +53,7 @@ def --env __zoxide_z [...rest:string] {
53
53
}
54
54
55
55
# Jump to a directory using interactive search.
56
- def --env __zoxide_zi [...rest:string] {
56
+ def --env --wrapped __zoxide_zi [...rest:string] {
57
57
cd $'(zoxide query --interactive -- ...$rest | str trim -r -c "\n")'
58
58
{%- if echo %}
59
59
echo $env.PWD
You can’t perform that action at this time.
0 commit comments