zprofile 295 B

12345678910111213
  1. [[ -e "/etc/profile.env" ]] && source /etc/profile.env
  2. umask 022
  3. if [[ "$USER" == root ]]; then
  4. export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
  5. else
  6. export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${PATH}"
  7. fi
  8. unset ROOTPATH