# hdw - linux /etc/conf/profile (copied from ROCK Linux)
#

# sourced from /etc/profile, add your stuff here!

# set -o vi +o posix
# export EDITOR="nvi"
# export PAGER="less -R -F -M"

if [ "$PS1" ] ; then
	case "$TERM" in *xterm*)
		[ "$TERM" = "xterm" ] && TERM="nxterm"
		set_xterm_title() { echo -ne "\033]0;$*\007" ; } ;;
	esac

	# if bash is not in POSIX mode, set a more inteligent prompt
	#
	[ "$BASH_VERSION" -a -z "$POSIXLY_CORRECT" ] &&
		PS1='\u@\h:$([ ${#PWD} -lt 30 ] && builtin echo "\w" || builtin echo "[\W]" ; echo )\$ '

	alias beep='echo -en \\007'
fi
