# /etc/profile: # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/profile,v 1.15 2002/11/18 19:39:22 azarah Exp $ alias ls='ls --color=auto' alias ll='ls --color=auto -l' alias nano='nano -cimw' #export LC_ALL="de_DE@euro" #export LC_ALL="en_US.UTF-8" export LANG="en_US" export LC_CTYPE="en_US" export LC_NUMERIC="en_US" export LC_TIME="en_US" export LC_COLLATE="de_DE" export LC_MONETARY="de_DE" export LC_MESSAGES="en_US" export LC_PAPER="de_DE" export LC_NAME="en_US" export LC_ADDRESS="en_US" export LC_TELEPHONE="en_US" export LC_MEASUREMENT="de_DE" export LC_IDENTIFICATION="en_US" if [ -e "/etc/profile.env" ] then . /etc/profile.env fi # 077 would be more secure, but 022 is generally quite realistic umask 022 if [ `/usr/bin/whoami` = 'root' ] then # Do not set PS1 for dumb terminals if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] then export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]' fi export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${ROOTPATH}:/usr/X11R6/bin" else # Do not set PS1 for dumb terminals if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] then export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]' fi export PATH="/bin:/usr/bin:${PATH}:/usr/X11R6/bin" fi unset ROOTPATH if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ] then export INPUTRC="/etc/inputrc" fi # Extract the value of EDITOR [ -z "$EDITOR" ] && EDITOR="`. /etc/rc.conf 2>/dev/null; echo $EDITOR`" [ -z "$EDITOR" ] && EDITOR="`. /etc/conf.d/basic 2>/dev/null; echo $EDITOR`" [ -z "$EDITOR" ] && EDITOR="/bin/nano" export EDITOR