Include /snap/bin conditionally in ~/.profile

This commit is contained in:
2025-03-03 01:22:21 -06:00
parent a42ba0c7b3
commit 484449b0ee

View File

@@ -16,6 +16,11 @@ if [ -n "$BASH_VERSION" ]; then
fi
fi
# if snap installed, include it
if [ -d "/snap/bin" ] ; then
PATH="$PATH:/snap/bin"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"