mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
add poetry bin to PATH
This commit is contained in:
+6
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user