profile 537 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # /etc/profile - System-wide startup file for shells.
  3. #
  4. # Compose the system path, resetting the value of $IFS
  5. IFS='
  6. '
  7. PATH=${PATH}:/usr/local/games:/usr/games
  8. # Remove write permission for group and other
  9. umask 022
  10. # Set basic primary prompt
  11. PS1='$PWD \$ '
  12. # Set default terminal type if unset
  13. test -n "${TERM+$TERM}" || TERM=linux
  14. # Default classification and conversion of characters
  15. LC_CTYPE=C.UTF-8
  16. export PATH LC_CTYPE
  17. # Load profiles
  18. for file in /etc/profile.d/*.sh
  19. do
  20. test -r "$file" && . "$file"
  21. done
  22. unset file