All pastes #409062 Raw Edit

TAsn

public text v1 · immutable
#409062 ·published 2007-03-25 12:24 UTC
rendered paste body
# .bashrc
# sourced by BASH everytime it start
# Set various environment variables

## These should be set by /etc/profile
## But sometime, bash missed them. So here is the push
export PATH="/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/opt/bin:/opt/kde/bin:/usr/X11R6/bin:/usr/local/games"
for SH in /etc/profile.d/*.sh; do
   . $SH
done

## Set a default shell prompt:
## A complete one
#PS1="${PS_CYAN}\h:/\w\n${PS_NORMAL}\u:\\$ "
#PS2="> "

## Standard with color
## This is the plain standard prompt
#PS1="${PS_DGREEN}\u${PS_YELLOW}@${PS_DGREEN}\h:\\$ ${PS_NORMAL}"
#PS2="> "

## This is the plain standard prompt
#PS1="\u@\h:\\$ "
#PS2="> "
dbus-launch --sh-syntax > $HOME/.dbus-env 2>/dev/null
 source $HOME/.dbus-env 2>/dev/null


## Set fancy colors
eval `dircolors -b`

## Set this for your first choice
export BROWSER=seamonkey
#export BROWSER=firefox
#export BROWSER=opera
#export EXPLORER=konqueror
#export NETWORK_EXPLORER=konqueror
#export AUDIO_PLAYER=xmms
#export VIDEO_PLAYER=gxine
export DISPLAY=$DISPLAY
#let root use gui
xhost +si:localuser:root >/dev/null