mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
move python config to .bashrc.d
This commit is contained in:
+3
-22
@@ -110,35 +110,16 @@ alias tkill="for s in \$(tmux list-sessions | awk -F ':' '{print \$1}' | fzf); d
|
||||
|
||||
alias tiga='tig --all'
|
||||
|
||||
# -------------------------------------------------------------
|
||||
# PYTHON
|
||||
# -------------------------------------------------------------
|
||||
|
||||
[[ -s $HOME/.pythonz/etc/bashrc ]] && source $HOME/.pythonz/etc/bashrc
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.1/bin/python" ]; then
|
||||
export PATH="$HOME/.pythonz/pythons/CPython-3.9.1/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.pythonz/pythons/CPython-3.9.1/bin/pew" ]; then
|
||||
source "$(pew shell_config)"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.poetry/bin" ]; then
|
||||
export PATH="$HOME/.poetry/bin:$PATH"
|
||||
fi
|
||||
|
||||
# -------------------------------------------------------------
|
||||
# Source .bashrc.d files
|
||||
# -------------------------------------------------------------
|
||||
|
||||
if [ -d "$HOME/.local/bin" ]; then
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.bashrc.d/" ]; then
|
||||
for file in ~/.bashrc.d/*.bashrc; do
|
||||
. "$file"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.local/bin" ]; then
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user