diff --git a/etc/skel/.profile b/etc/skel/.profile index bda68e7..50a28ae 100644 --- a/etc/skel/.profile +++ b/etc/skel/.profile @@ -1,5 +1,7 @@ # Set terminal type to support 256 colors export TERM="xterm-256color" -# Add custom binaries to the PATH -export PATH="${HOME}/.local/bin/bear:${PATH}" +# Add custom binaries to the PATH if the directory exists +if [ -d "${HOME}/.local/bin/bear" ]; then + export PATH="${HOME}/.local/bin/bear:${PATH}" +fi