gugod/App-perlbrew — Issue #156: Support spaces in `$PATH`
Author: wolverian
Created: 2011-10-26 11:47:54+00:00
State: open

My `$PATH` looks like this:

/Users/wolverian/.rvm/gems/ruby-1.9.2-p290/bin:/Users/wolverian/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/wolverian/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/wolverian/.rvm/bin:/Users/wolverian/bin:/Users/wolverian/Applications/Homebrew/bin:/Library/Java/JavaVirtualMachines/JDK 1.7.0 Developer Preview.jdk/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/wolverian/.rvm/gems/ruby-1.9.2-p290/bin:/Users/wolverian/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/wolverian/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/wolverian/.rvm/bin:/Users/wolverian/bin:/Users/wolverian/Applications/Homebrew/bin:/Library/Java/JavaVirtualMachines/JDK 1.7.0 Developer Preview.jdk/Contents/Home/bin

As you can see, there's a Path in there with spaces in it: `/Library/Java/JavaVirtualMachines/JDK 1.7.0 Developer Preview.jdk/Contents/Home/bin`. When running `source "$HOME/perl5/perlbrew/etc/bashrc"`, Zsh outputs this:

__perlbrew_set_path:export:3: not an identifier: 1.7.0

Indeed, the Perlbrew bin path is not set in my `$PATH`, presumably because of that error.