Skip to content
Browse files

Fix title escaping issue that caused newlines to be rendered before t…

…he prompt when cwd contained more than 1 space.
  • Loading branch information...
1 parent adb8d57 commit ac45b9c1b2c8eff25136ffd1208a06d7b2556dee @jmalloc committed Mar 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/functions.prompt.bash
View
2 lib/functions.prompt.bash
@@ -25,7 +25,7 @@ function build-prompt {
fi
local location=$(color-blue "\w")
- local title="$(basename $(pwd))"
+ local title="$(basename "$(pwd)")"
if [ "$REAL_GIT" ]; then
local repo=$(git-repo)

0 comments on commit ac45b9c

Please sign in to comment.
Something went wrong with that request. Please try again.