robbyrussell/oh-my-zsh — pull request #2738 by UnrealQuester (2014-04-22 12:02:52+00:00)
Title: Fix dirhistory when the directory contains spaces

pwd output is not escaped, so when changing to a directory like "space dir", only "space" gets saved in the history. This fix wraps `pwd` in double quotes to mitigate that.