No explicit case needed for ~
This commit is contained in:
parent
976a721020
commit
ba599bc819
|
|
@ -107,9 +107,6 @@ function global:__zoxide_z {
|
|||
if ($args.Length -eq 0) {
|
||||
__zoxide_cd $null $true
|
||||
}
|
||||
elseif ($args.Length -eq 1 -and $args[0] -eq '~') {
|
||||
__zoxide_cd ~ $true
|
||||
}
|
||||
elseif ($args.Length -eq 1 -and ($args[0] -eq '-' -or $args[0] -eq '+')) {
|
||||
__zoxide_cd $args[0] $false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue