initial checkin of new hdw-linux development cvs repository
[hdw-linux/hdw-linux.git] / misc / sysfiles / etc / conf / profile
1 # hdw - linux /etc/conf/profile (copied from ROCK Linux)
2 #
3
4 # sourced from /etc/profile, add your stuff here!
5
6 # set -o vi +o posix
7 # export EDITOR="nvi"
8 # export PAGER="less -R -F -M"
9
10 if [ "$PS1" ] ; then
11         case "$TERM" in *xterm*)
12                 [ "$TERM" = "xterm" ] && TERM="nxterm"
13                 set_xterm_title() { echo -ne "\033]0;$*\007" ; } ;;
14         esac
15
16         # if bash is not in POSIX mode, set a more inteligent prompt
17         #
18         [ "$BASH_VERSION" -a -z "$POSIXLY_CORRECT" ] &&
19                 PS1='\u@\h:$([ ${#PWD} -lt 30 ] && builtin echo "\w" || builtin echo "[\W]" ; echo )\$ '
20
21         alias beep='echo -en \\007'
22 fi