# This section puts the current working directory into the $PATH.
# This is not possible for sh and ash, so only the host name is
# displayed with these shells.
# If you want to change the default on your system, copy this file to 
# $BIRCH/local/admin and modify it to your liking. The local copy will
# override the copy in $BIRCH/admin. The local file must be called
# $BIRCH/local/admin/set_birch_prompt_Bourne.source.

case "$SHELL" in

     */sh)
	  case "$BIRCH_PLATFORM" in
	    solaris-*)
              PS1={$HOSTNAME}; export PS1
	      ;;
	    linux-*)
              PS1='{$HOSTNAME:$PWD}'; export PS1
	      ;;
	    *) 
              PS1={$HOSTNAME}; export PS1
	      ;;
	  esac        
     ;;
     
     */ksh)
       PS1='{$HOSTNAME:$PWD}'; export PS1
       # Note: in ksh, the 'cd' command echos the new directory
       # name, whereas other shells are silent when you run 'cd'.
     ;;
     
     */zsh)
       PROMPT={%m:%/}; export PROMPT
     ;;     
     
     */bash)
       #PS1={$HOSTNAME:$PWD}; export PS1
#       export PS1='{\H:`pwd`}'        
       export PS1='{\h:$PWD}'
     ;;
     */ash)
       PS1={$HOSTNAME}; export PS1     
     ;;     
     *)
       PS1={$HOSTNAME}; export PS1     
     ;;
     
esac
