# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../sysfiles/etc_conf_profile.txt
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
#
# This file is included from /etc/profile and should be used for additions
# to /etc/profile instead of editing it.
#

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

if [ "$PS1" ] ; then
	alias cp='cp -i'
	alias mv='mv -i'
	alias rm='rm -i'

	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