Fix cd in path container spaces with bash

This commit is contained in:
BestPig 2020-04-05 16:44:40 +02:00
parent 4414898a06
commit 706a0d0d12
1 changed files with 1 additions and 1 deletions

View File

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