Remove -d check during cd
This commit is contained in:
parent
14b150c1f7
commit
18121e07f9
|
|
@ -59,7 +59,7 @@ function __zoxide_z() {
|
|||
echo "zoxide: \\$OLDPWD is not set"
|
||||
return 1
|
||||
fi
|
||||
elif [ "$#" -eq 1 ] && [ -d "$1" ]; then
|
||||
elif [ "$#" -eq 1 ] && cd "$1" &>{{ Opts::DEVNULL }}; then
|
||||
__zoxide_cd "$1"
|
||||
else
|
||||
local __zoxide_result
|
||||
|
|
|
|||
Loading…
Reference in New Issue