Using with Fish - b-ryan/powerline-shell GitHub Wiki
Default
Add this to your Config.fish:
https://github.com/b-ryan/powerline-shell#fish
With Pyenv
- Install powerline-shell in one of your pyenv enviroments.
- Add this to your
Config.fish, assuming that you've installed powerline-shell in your global pyenv (if you didn't, just replace$PYENV_GLOBAL_VERSION):
set -x PYENV_GLOBAL_VERSION (pyenv global)
function fish_prompt
set prev_PYENV_VERSION $PYENV_VERSION
set -x PYENV_VERSION $PYENV_GLOBAL_VERSION
powerline-shell --shell bare $status
set -x PYENV_VERSION prev_PYENV_VERSION
end