#
# stupid .bashrc fragment that puts a little Canadian flag in the prompt
#
# Gerald Oskoboiny, 14 Oct 1998
#
# $Id: bashrc-canada,v 1.1 1998/10/19 17:50:04 gerald Exp $
#

PROMPT='${USER_ID}${HOST}: ${PWD#/tux/u/}> '
PS1=$PROMPT

case $TERM in
  dec-vt220|vt220)	export TERM=vt220;;
  linux)		colorPrompt=1;;
  color-xterm|xterm-color|xterm)	colorPrompt=1; titleControl=1;;
esac

# wacky canadian flag prompt stolen/adapted from Renaud's french flag
if [ $colorPrompt ]; then
  export P='${PWD#/tux/u/}'
  export PS1=\\[[1\;41m\\]\ \\[[31\;47m\\]\*\\[[1\;41m\\]\ \\[[0\;37m\\]\ \\u@\\[[47\;30m\\]\\h\\[[0\;37m\\]:$P\\$\ \\[[0m\\]
fi

