From 484449b0eeec7cfbebd86e3d5bbe8e0b42b9f0eb Mon Sep 17 00:00:00 2001 From: Xevion Date: Mon, 3 Mar 2025 01:22:21 -0600 Subject: [PATCH] Include /snap/bin conditionally in ~/.profile --- home/dot_profile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/dot_profile b/home/dot_profile index 1ccbdd3..63cbdb3 100644 --- a/home/dot_profile +++ b/home/dot_profile @@ -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"