.bashrc and .profile: add PATH for local binaries

These are programs I build from source and want to keep in my local
user instead of installing them at the system level.
This commit is contained in:
Protesilaos Stavrou 2023-10-05 07:45:20 +03:00
parent e467490ca6
commit 82a4a90e98
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 10 additions and 0 deletions

View file

@ -29,6 +29,11 @@ then
PATH=$PATH:"$HOME"/.local/bin
fi
if [ -d "$HOME"/Builds/bin ]
then
PATH=$PATH:"$HOME"/Builds/bin
fi
if [ -d "/var/lib/flatpak/exports/bin" ]
then
PATH=$PATH:"/var/lib/flatpak/exports/bin"

View file

@ -45,6 +45,11 @@ if [ -d "$HOME"/.local/bin ]; then
PATH=$PATH:"$HOME"/.local/bin
fi
if [ -d "$HOME"/Builds/bin ]
then
PATH=$PATH:"$HOME"/Builds/bin
fi
##########################
# Environment essentials #
##########################