dotfiles/dotconf/profile

29 lines
499 B
Text
Raw Normal View History

2024-02-19 17:45:19 +01:00
function __source() {
if [ -f "$1" ]; then
source "$1"
fi
}
function __path() {
if [ -d "$1" ] ; then
PATH="$1:$PATH"
fi
}
if [ -n "$BASH_VERSION" ]; then
__source "$HOME/.bashrc"
fi
__path "$HOME/bin"
__path "$HOME/.local/bin"
2024-02-19 17:46:46 +01:00
__path "$HOME/go/bin"
2024-02-20 11:08:38 +01:00
__path "/usr/local/go/bin"
2024-02-19 17:45:19 +01:00
__path "$HOME/.local/share/JetBrains/Toolbox/scripts"
__path "$HOME/.config/composer/vendor/bin"
2024-02-19 17:46:46 +01:00
2024-02-19 17:45:19 +01:00
__source "$HOME/.cargo/env"
2024-02-20 11:08:38 +01:00
__source "$HOME/.asdf/asdf.sh"
2024-02-19 17:45:19 +01:00
unset __source
unset __path