home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / adduser / examples / adduser.local.conf.examples / bash.bashrc < prev    next >
Encoding:
Text File  |  2006-07-10  |  870 b   |  33 lines

  1. #########################################################################
  2. #      /etc/bash.bashrc: System-wide initialisation file for bash       #
  3. #########################################################################
  4.  
  5. # This script file is executed by bash(1) for interactive shells.
  6. #
  7. # [JNZ] Modified 23-Sep-2004
  8. #
  9. # Written by John Zaitseff and released into the public domain.
  10.  
  11. umask 022
  12.  
  13. shopt -s checkwinsize expand_aliases
  14. set -P
  15.  
  16. # Terminal type modifications
  17.  
  18. if [ "$TERM" = teraterm ]; then
  19.     export TERM=linux
  20. fi
  21.  
  22. # Set the complete path, as /etc/login.defs does not seem to be consulted
  23.  
  24. if [ $(id -u) -eq 0 ]; then
  25.     export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11
  26. else
  27.     export PATH=/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/games
  28. fi
  29.  
  30. if [ -d ${HOME}/bin ]; then
  31.     export PATH=${HOME}/bin:${PATH}
  32. fi
  33.