Closed eburley closed 11 years ago
hi there,
This didn't work for me. I mean, no errors show up but I still can't access the pythonbrew
command. Any tips? thanks.
EDIT: Also, which file are you supposed to copy that snippet into? I've found two config.fish
files: /usr/local/etc/fish/config.fish
and /usr/local/share/fish/config.fish
I'm using ~/.config/fish/config.fish
that file won't exist initially,
Hmmm... It does make the pythonbrew
command available, but with a lot of errors:
There's something different between our two environments. The __bash_as_set is trying to evaluate the 'current' file in the ~/.pythonbrew/etc directory and take a typical bash set command:
foo=bar and turn it into a setting.
what's the contents of your 'current' file look like?
Well, I just updated pythonbrew using pythonbrew update
and it's working now, somehow. Perfect. Thank you for your help anyway!
pythonbrew.fish - fishshell equivalent of pythonbrew bashrc
to use: in your config.fish if test -s ~/.pythonbrew/etc/pythonbrew.fish . ~/.pythonbrew/etc/pythonbrew.fish end
instead of: [[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc