diff --git a/data/start-cosmic b/data/start-cosmic index 5f702e4..f2a4533 100755 --- a/data/start-cosmic +++ b/data/start-cosmic @@ -17,7 +17,8 @@ done # /etc/profile contains a lot of important environment variables source /etc/profile -if [ -n "${HOME}" -a -x "${HOME}/.profile" ] +# load user's profile if it exists +if [ -n "${HOME}" -a -f "${HOME}/.profile" ] then source "${HOME}/.profile" fi