mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-06 03:14:52 -06:00
Include /snap/bin conditionally in ~/.profile
This commit is contained in:
@@ -16,6 +16,11 @@ if [ -n "$BASH_VERSION" ]; then
|
|||||||
fi
|
fi
|
||||||
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
|
# set PATH so it includes user's private bin if it exists
|
||||||
if [ -d "$HOME/bin" ] ; then
|
if [ -d "$HOME/bin" ] ; then
|
||||||
PATH="$HOME/bin:$PATH"
|
PATH="$HOME/bin:$PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user