-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc.cnet-nis.Linux
More file actions
61 lines (49 loc) · 1.56 KB
/
bashrc.cnet-nis.Linux
File metadata and controls
61 lines (49 loc) · 1.56 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
54
55
56
57
58
59
60
61
# 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/bashrc
COMMON_BASHRC=$HOME/dotfiles/bashrc.common
# Saneify the path *first*
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
# 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=""
# Source common config
for file in $COMMON_BASHRC
do
#echo "Sourcing common bashrc $file"
if [ -f $file ]; then
source $file
fi
done
# Set the umask
umask 0077
# MANPATH should have the same precedence as PATH so i can read GNU ls manpages
# since i'm using GNU ls.
#export MANPATH=/usr/local/man:/usr/man:/usr/depot/man
# Some other dave hacks that look reasonable
export CVSROOT=:pserver:tylerr@cvs.cnet.com:/cvs/main
export ANT_HOME=/opt/cnet-ant-1.5.1/
export JAVA_HOME=/usr/java/j2sdk1.4.1_01/
# Sybase
export SYBASE=/opt/sybase-12.5
export LD_LIBRARY_PATH=$SYBASE/ASE/lib:$SYBASE/OCS/lib:$SYBASE/FTS/lib:$SYBASE/SQLRemote/lib:$SYBASE/lib
export LANG=en_US
export PATH=$PATH:$SYBASE/ASE/bin:$SYBASE/OCS/bin:$SYBASE/FTS/bin:$SYBASE/SYSAM/bin:$SYBASE/shared/jre/bin
export GDM_LANG=en_US
# sudo aliases
alias dep='sudo -u deploy'
alias app='sudo -u app'
alias htt='sudo -u httpd'
alias sea='sudo -u searchd'
alias pre='sudo -u precacherd'
# temp hacky alias for vi to disable braindead fucking color scheme
alias vi='vim -u ~/.vimrc'
# leave my xterm titles alone!
unset PROMPT_COMMAND