blob: 5598fce8ad685bc18f964e3169812b9eaafa68bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# zshenv/80_python
#
# Set variables related to Python
#
# Copyright © 2014-2016 Tobias Klauser <tklauser@distanz.ch>
# Released under the terms of the Artistic Licence 2.0
#
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
#_PYTHON_USER=$HOME/.local/lib/python2.7/site-packages
#[ -d $_PYTHON_USER ] && export PYTHONPATH=$_PYTHON_USER:$PYTHONPATH
_ZIPYTHON_LATEST=$HOME/tmp/ziPythonLatest/
[ -d $_ZIPYTHON_LATEST ] && export PYTHONPATH=$PYTHONPATH:$_ZIPYTHON_LATEST
_PYENV_ROOT="$HOME/.pyenv"
[ -d $_PYENV_ROOT ] && export PYENV_ROOT=$_PYENV_ROOT
path_prepend $PYENV_ROOT/bin
eval "$(pyenv init -)"
export PYTHONSTARTUP=$HOME/.pythonrc
# vim:ft=zsh
|