I have /Applications/Sublime Text 2.app/Contents/SharedSupport/bin in my $PATH. When rbfu runs its path_remove function, my path gets parsed and applied incorrectly (due to the whitespace in there).
It seems that path_remove function isn't honoring whitespace.
The Fix
I just had path_remove honor the whitespace when setting the new path variable.
The Test
I added a test bash script in there that demonstrates the problem and fix. I doubt you'll want/need to keep that around so I put it in its own commit so you can just cherry pick the fix commit.
The Problem
I have
/Applications/Sublime Text 2.app/Contents/SharedSupport/bin
in my$PATH
. When rbfu runs itspath_remove
function, my path gets parsed and applied incorrectly (due to the whitespace in there).It seems that
path_remove
function isn't honoring whitespace.The Fix
I just had
path_remove
honor the whitespace when setting the new path variable.The Test
I added a test bash script in there that demonstrates the problem and fix. I doubt you'll want/need to keep that around so I put it in its own commit so you can just cherry pick the fix commit.
Thanks.