title: Homebrew Python ZSH truncation of interpreter path
body: <p>I am running python (installed through homebrew), zsh (using oh-my-zsh), and am running into issues with path truncation in scripts. </p>
  
  <p>Here is one instance of the problem running pelican (a python static site generator): </p>
  
  <pre><code>pelican -s pelicanconf.py content -o output 
  zsh: /usr/local/bin/pelican: bad interpreter: /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Ver: no such file or directory
  </code></pre>
  
  <p>Naturally, I check the path of the interpreter in:</p>
  
  <blockquote>
    <p>/usr/local/bin/pelican </p>
  </blockquote>
  
  <p>to verify the path. In that file the interpreter path is specified as:</p>
  
  <pre><code>#!/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
  </code></pre>
  
  <p>Has anybody experienced this issue? If so, any resolution? </p>
  
  <p>If I have failed to specify necessary debug context I will happily do so. </p>