We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd65253 commit 5f583b8Copy full SHA for 5f583b8
scripts/env/cd
@@ -19,7 +19,7 @@ fi
19
if __gvm_is_function cd; then
20
eval "$(echo "__gvm_oldcd()"; declare -f cd | sed '1 s/{/\'$'\n''{/' | tail -n +2)"
21
elif [[ "$(builtin type cd)" == "cd is a shell builtin" ]]; then
22
- eval "$(echo "__gvm_oldcd() { builtin cd \$*; return \$?; }")"
+ eval "$(echo "__gvm_oldcd() { builtin cd \"\$*\"; return \$?; }")"
23
fi
24
25
# Path cleanup
0 commit comments