-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc.pirate
More file actions
53 lines (40 loc) · 1.14 KB
/
Copy pathbashrc.pirate
File metadata and controls
53 lines (40 loc) · 1.14 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This .bashrc is the local config. It will call the system config, do
# some setup, call the common config, and then finish up as needed.
SYSTEM_BASHRC=/etc/bash.bashrc
COMMON_BASHRC=$HOME/dotfiles/bashrc.common
# Source system config
for file in $SYSTEM_BASHRC
do
#echo "Sourcing system bashrc $file"
if [ -f $file ]; then
source $file
fi
done
# Set up some variables needed by the common config
SSH_IDENTITY="$HOME/.ssh/id_rsa.pirate $HOME/.ssh/identity.pirate"
# Source common config
for file in $COMMON_BASHRC
do
#echo "Sourcing common bashrc $file"
if [ -f $file ]; then
source $file
fi
done
##### begin environment variables
export JAVA_HOME=/usr/local/jdk1.3.1_04
export ANT_HOME=/usr/local/ant
#export CVSROOT=tyler@$radix:~/CVS/
export CVSROOT=:pserver:tylerr@cvs.cnet.com:/cvs/main
export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin:~/sandbox/bin
##### end environment variables
##### begin aliases
### machines
### general
alias rexmms='killall xmms ; sleep 2 ; xmms &'
alias gtp="ssh tylerr@$pirate"
alias grp="ssh root@$pirate"
##### end aliases
##### begin other configuration
umask 0077
eval `dircolors`
##### end other configuration