mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-05 23:14:46 -06:00
Include /snap/bin conditionally in ~/.profile
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user