2022-04-16 19:54:07 +00:00
|
|
|
# Local user bin
|
|
|
|
if [ -d "$HOME/bin" ] ; then
|
|
|
|
PATH="$HOME/bin:$PATH"
|
|
|
|
fi
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
|
|
PATH="$HOME/.local/bin:$HOME/.local/bin/firefox:$PATH"
|
|
|
|
fi
|
|
|
|
if [ -d "$HOME/.local/share/applications" ] ; then
|
|
|
|
export PATH="$HOME/.local/share/applications/:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Private scripts
|
|
|
|
if [ -d "$HOME/.private-scripts" ] ; then
|
|
|
|
PATH="$HOME/.private-scripts:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Public scripts
|
|
|
|
if [ -d "$HOME/scripts" ] ; then
|
|
|
|
PATH="$HOME/scripts:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Flutter
|
|
|
|
PATH="$HOME/flutter/bin/:$PATH"
|
|
|
|
# Python
|
|
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
2022-12-16 02:51:15 +00:00
|
|
|
PATH="$PYENV_ROOT/bin:$PATH"
|
2022-04-16 19:54:07 +00:00
|
|
|
if command -v pyenv 1>/dev/null 2>&1; then
|
|
|
|
eval "$(pyenv init -)"
|
|
|
|
fi
|
2022-12-16 02:51:15 +00:00
|
|
|
|
2022-04-16 19:54:07 +00:00
|
|
|
# Perl
|
2022-05-27 04:34:32 +00:00
|
|
|
PATH="${HOME}/perl5/bin:$PATH"
|
2022-04-16 19:54:07 +00:00
|
|
|
|
2022-12-13 03:44:24 +00:00
|
|
|
if [ -f "/run/.containerenv" ]; then
|
2023-01-07 17:03:31 +00:00
|
|
|
source $HOME/.dotfiles/bash/path.distrobox
|
2022-12-12 19:29:13 +00:00
|
|
|
else
|
2023-01-07 17:03:31 +00:00
|
|
|
source $HOME/.dotfiles/bash/path.host
|
2022-12-12 19:29:13 +00:00
|
|
|
fi
|
|
|
|
|
2023-01-09 03:52:24 +00:00
|
|
|
# Rust
|
|
|
|
PATH="${HOME}/.cargo/bin:$PATH"
|
|
|
|
|
2022-04-16 19:54:07 +00:00
|
|
|
# Export PATH
|
|
|
|
export PATH="$PATH"
|