Skip to content
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

  1. Install powerline-shell in one of your pyenv enviroments.
  2. 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
Clone this wiki locally