mirror of https://github.com/kianby/dotfiles
move python config to .bashrc.d
parent
f6fce72bfd
commit
efcc7be720
@ -0,0 +1,19 @@
|
||||
# -------------------------------------------------------------
|
||||
# PYTHON
|
||||
# -------------------------------------------------------------
|
||||
|
||||
[[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/python" ]; then
|
||||
export PATH="$HOME/.pythonz/pythons/CPython-3.9.9/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.9/bin/pew" ]; then
|
||||
source "$(pew shell_config)"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.poetry/bin" ]; then
|
||||
export PATH="$HOME/.poetry/bin:$PATH"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue