-
Notifications
You must be signed in to change notification settings - Fork 743
Using with Fish
Max Fan edited this page Mar 12, 2019
·
3 revisions
Add this to your Config.fish
:
https://github.com/b-ryan/powerline-shell#fish
- 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