Powerline Shell on MacOS Python version fix



Currently I use Powerline-shell as the necessity of a pleasant to read/understand automatic git status overrides my misgivings about running python for every new terminal instance.

Python update (via homebrew) broke powerline, as it was looking for an explicit version that no longer exists, in

/usr/local/bin/powerline-config and /usr/local/bin/powerline-daemon

There is probably a better way to do this, but I edited those two scripts so that rather than pointing to to /usr/local/opt/python/bin/python2.6 they now point to the system-wide link /usr/local/bin/python

Should be more generic/portable for a while. (At least until homebrew decides to make Python3 the default)

Comments