.dotfiles/bash/path

35 lines
734 B
Plaintext

# 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
PATH="$PYENV_ROOT/bin:$PATH"
export PYENV_ROOT="$HOME/.pyenv"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# Perl
PATH="/home/jpm/perl5/bin:$PATH"
# Export PATH
export PATH="$PATH"