You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Max Fan edited this page Mar 12, 2019
·
3 revisions
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