Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use the Fish shell in Mac OS X and I cannot figure out how to install pythonbrew. Is this possible and if so how? What I think I need to figure out is how to convert the following for my .bashrc to the Fish equivalent and place it in my fish.config:

[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc

However, I'm not even sure about that.

share|improve this question

You can place the following lines into your ~/.config/fish/ file:

if test -s ~/.pythonbrew/etc/bashrc
    . ~/.pythonbrew/etc/bashrc

However, the bashrc file in ~/.pythonbrew/etc/ is not recognized by the fish shell either, so it needs to be translated also.

(I have not finished fishifying it yet.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.