chiark / gitweb /
Disable all exported shell functions
[bash.git] / debian / etc.profile
1 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
2 # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
3
4 PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
5
6 if [ -f /etc/debian_chroot ]; then
7   debian_chroot=$(cat /etc/debian_chroot)
8 fi
9
10 if [ "$PS1" ]; then
11   if [ "$BASH" ]; then
12     PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
13     if [ -f /etc/bash.bashrc ]; then
14         . /etc/bash.bashrc
15     fi
16   else
17     if [ "`id -u`" -eq 0 ]; then
18       PS1='# '
19     else
20       PS1='$ '
21     fi
22   fi
23 fi
24
25 export PATH
26
27 umask 022