Permalink
Browse files

Make it so the fuzzycd builtin handles spaces in paths properly

  • Loading branch information...
1 parent 57bb48b commit 6f66a94890ec20ef08ecd126402e959cf38398d8 @philc committed Apr 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 fuzzycd_bash_wrapper.sh
View
2 fuzzycd_bash_wrapper.sh
@@ -9,7 +9,7 @@ cd() {
if [ "$output" = "@nomatches" ]; then
echo "No files match \"$*\""
elif [ "$output" = "@passthrough" ]; then
- builtin cd $*
+ builtin cd "$*"
elif [ "$output" != "@exit" ]; then
builtin cd "$output"
fi

0 comments on commit 6f66a94

Please sign in to comment.