No explicit case needed for ~

This commit is contained in:
Ajeet D'Souza 2026-03-01 12:38:55 +05:30
parent 976a721020
commit ba599bc819
1 changed files with 0 additions and 3 deletions

View File

@ -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
}