Fixes #995: Wildcard expansion for PowerShell
This commit is contained in:
parent
845fe79b5e
commit
8d9317ce3d
|
|
@ -107,7 +107,7 @@ function global:__zoxide_z {
|
||||||
__zoxide_cd $args[0] $false
|
__zoxide_cd $args[0] $false
|
||||||
}
|
}
|
||||||
elseif ($args.Length -eq 1 -and (Test-Path $args[0] -PathType Container)) {
|
elseif ($args.Length -eq 1 -and (Test-Path $args[0] -PathType Container)) {
|
||||||
__zoxide_cd $args[0] $true
|
__zoxide_cd $args[0] $(Test-Path -LiteralPath $args[0])
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$result = __zoxide_pwd
|
$result = __zoxide_pwd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue