Fix cd in path container spaces with bash
This commit is contained in:
parent
4414898a06
commit
706a0d0d12
|
|
@ -201,7 +201,7 @@ _z_cd() {{
|
|||
return 1
|
||||
fi
|
||||
else
|
||||
result="$(zoxide query "$@")" || return "$?"
|
||||
result=$(zoxide query "$@") || return "$?"
|
||||
if [ -d "$result" ]; then
|
||||
_z_cd "$result" || return "$?"
|
||||
elif [ -n "$result" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue