35 lines
890 B
Bash
35 lines
890 B
Bash
|
# Copyright (C) 2004 Gabriel Ebner
|
||
|
|
||
|
. /etc/profile
|
||
|
|
||
|
MYPREFIX=$HOME/build/myprefix
|
||
|
export USER=`whoami`
|
||
|
export PATH=$MYPREFIX/bin:$PATH
|
||
|
export LD_LIBRARY_PATH=$MYPREFIX/lib64:$MYPREFIX/lib:$LD_LIBRARY_PATH
|
||
|
export MANPATH=$MYPREFIX/man:$MANPATH
|
||
|
export PKG_CONFIG_PATH=$MYPREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
|
||
|
export PYTHONPATH=$MYPREFIX/lib/python2.4/site-packages:$PYTHONPATH
|
||
|
export R_LIBS=$MYPREFIX/lib/R
|
||
|
export RUBYLIB=$MYPREFIX/lib/ruby/site_ruby/1.8/
|
||
|
|
||
|
if [[ $- != *i* ]]; then
|
||
|
# Shell is non-interactive. Be done now
|
||
|
return
|
||
|
fi
|
||
|
|
||
|
HISTCONTROL=erasedups
|
||
|
HISTFILESIZE=10000
|
||
|
HISTSIZE=10000
|
||
|
|
||
|
PS1='\u@\h:\w\$ '
|
||
|
|
||
|
alias ls='ls --color=auto'
|
||
|
alias qemu='qemu -cirrusvga -user-net'
|
||
|
export EMAIL='Gabriel Ebner <ge@gabrielebner.at>'
|
||
|
test -x /usr/bin/lesspipe && eval `lesspipe`
|
||
|
|
||
|
# Bash completion
|
||
|
for i in /etc/profile.d/bash-completion /etc/bash_completion; do
|
||
|
test -f $i && . $i && break
|
||
|
done
|