Support directory names with white space(s) inside
Support directory names with white space(s) inside

If you "cd ~/Library/Application Support" or any directory containing a
white space then bash will run in an endless loop.

This is because __shorten_path $PWD $PATH_LENGTH is used instead of
__shorten_path "$PWD" $PATH_LENGTH
Note the use of "" around $PWD in the fixed version.

In case of the bug we have in the __shorten_path function
$1 is set to ~/Library/Application
$2 is set to Support
$3 is set to $PATH_LENGTH

With the fix we now have:
$1 set to ~/Library/Application Support
$2 set to $PATH_LENGTH

Conflicts:

	liquidprompt.bash

illwieckz/liquidprompt,milouse/liquidprompt,colinlieberman/liquidprompt,pkkolos/liquidprompt,joshuarubin/dotfiles,tocomo/liquidprompt,jaesivsm/liquidprompt,joshuarubin/dotfiles,kenrachynski/liquidprompt,laurentbardin/liquidprompt,joshuarubin/dotfiles,elementalvoid/liquidprompt,enrdstrm/liquidprompt,dpilone/liquidprompt,alexprengere/liquidprompt,timhyson/liquidprompt,nojhan/liquidprompt,tkuminecz/liquidprompt,dtschan/liquidprompt,mathieumd/liquidprompt,joshuarubin/dotfiles,tsbarnes/liquidprompt,BobHood/liquidprompt,lyoshenka/liquidprompt,tstone2077/liquidprompt,smadhueagle/liquidprompt,jonathanjsimon/liquidprompt,dan-cleinmark/liquidprompt