add poetry bin to PATH

main
Yax 3 years ago
parent ec87ee4824
commit 9b7a3baff6

@ -106,19 +106,23 @@ alias serve="python3 -m $(python3 -c 'import sys; print("http.server" if sys.ver
[[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc [[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.1/bin/python" ]; then if [ -f "$HOME/.pythonz/pythons/CPython-3.9.1/bin/python" ]; then
export PATH=$HOME/.pythonz/pythons/CPython-3.9.1/bin:$PATH export PATH="$HOME/.pythonz/pythons/CPython-3.9.1/bin:$PATH"
fi fi
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.1/bin/pew" ]; then if [ -f "$HOME/.pythonz/pythons/CPython-3.9.1/bin/pew" ]; then
source "$(pew shell_config)" source "$(pew shell_config)"
fi fi
if [ -d "$HOME/.poetry/bin" ]; then
export PATH="$HOME/.poetry/bin:$PATH"
fi
# ------------------------------------------------------------- # -------------------------------------------------------------
# Source all .bashrc files # Source all .bashrc files
# ------------------------------------------------------------- # -------------------------------------------------------------
if [ -d "$HOME/.local/bin" ]; then if [ -d "$HOME/.local/bin" ]; then
export PATH=$HOME/.local/bin:$PATH export PATH="$HOME/.local/bin:$PATH"
fi fi
if [ -d "$HOME/.bashrc.d/" ]; then if [ -d "$HOME/.bashrc.d/" ]; then

Loading…
Cancel
Save