github.com/drud/ddev@v1.21.5-alpha1.0.20230226034409-94fcc4b94453/containers/ddev-webserver/ddev-webserver-base-files/etc/profile (about) 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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" 5 export PATH 6 7 if [ "${PS1-}" ]; then 8 if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then 9 # The file bash.bashrc already sets the default PS1. 10 # PS1='\h:\w\$ ' 11 if [ -f /etc/bash.bashrc ]; then 12 . /etc/bash.bashrc 13 fi 14 else 15 if [ "`id -u`" -eq 0 ]; then 16 PS1='# ' 17 else 18 PS1='$ ' 19 fi 20 fi 21 fi 22 23 if [ -d /etc/profile.d ]; then 24 for i in /etc/profile.d/*.sh; do 25 if [ -r $i ]; then 26 . $i 27 fi 28 done 29 unset i 30 fi