Merge pull request #19 from jirutka/fish

Add bin/activate.fish for Fish Shell
This commit is contained in:
dbuxton 2014-01-26 13:13:30 -08:00
commit 508b6f42c0

10
bin/activate.fish Normal file
View File

@ -0,0 +1,10 @@
# fix broken locale
if not python -c 'import locale; locale.getdefaultlocale();' >/dev/null ^&1
set -gx LANG en_US.UTF-8
set -gx LC_ALL en_US.UTF-8
end
# set paths
set DIR (dirname (status -f))
set -gx PATH $PATH $DIR/../bin $DIR/../app
set -gx PYTHONPATH $PYTHONPATH $DIR/../app