summaryrefslogtreecommitdiff
path: root/.bashrc
blob: 3ad7ea01f0993c164986f9b061ba357e98dd9854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

# User specific aliases and functions
alias b='git branch | grep "*"'
alias less='less -SR'
alias grep='grep --color=auto'

if [ "$PS1" ]; then
	case $TERM in
	xterm*)
		export PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME%%.*}"; echo -ne "\007"'
		;;
	esac
fi

export N=/nfshome/ewalsh
export MAIL=/nfshome/ewalsh/Mail/inbox
export GIT_AUTHOR_NAME='Eamon Walsh'
export GIT_AUTHOR_EMAIL='ewalsh@tycho.nsa.gov'
export GIT_COMMITTER_NAME='Eamon Walsh'
export GIT_COMMITTER_EMAIL='ewalsh@tycho.nsa.gov'
export EMAIL='ewalsh@tycho.nsa.gov'
export TET_ROOT=~/cvs/xtest
export PATH=$PATH:/sbin:/usr/sbin:~/git/buildskel
export PS1='[\u@\h \W]\$ '
unset MAILCHECK

# Machine:
alias w='cat $HOME/git/build.log | grep -i warning | less'
alias s='less +G $HOME/git/build.log'

export EDITOR=vi
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export L=/usr/local/var/log/Xorg.0.log