-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_profile
51 lines (39 loc) · 1.27 KB
/
bash_profile
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
# bash_profile
#
# Bash login, execute once-per-session type of stuff
#
# echo "Running main bash_profile"
##############################################################################
##########################
### SYSTEM CONFIGURATION
### Execute Once Per Login
##########################
PLAT_NIX=true
PLAT_LINUX=false
PLAT_MAC=false
case "$OSTYPE" in
darwin*) PLAT_MAC=true ;;
solaris*) PLAT_NIX=true ;;
linux*) PLAT_NIX=true & PLAT_LINUX=true ;;
bsd*) PLAT_NIX=true & PLAT_LINUX=true ;;
*) echo "unknown: $OSTYPE" ;;
esac
export PLAT_NIX
export PLAT_LINUX
export PLAT_MAC
export PATH=/opt/bin:/opt/sbin:/usr/local/bin:$PATH:~/Unix/apache-ant/bin:~/Unix/ares-cli/bin
### Setup enyo-dev compiling
ulimit -n 2560
#
# Configure global variables to make loading machine-specific configs easier
# and more consistent across multiple files
#
export PROFILECONFIGDIR="$HOME/.profileconfig"
export MACHINECONFIGDIR="$PROFILECONFIGDIR/machine-configs/$HOSTNAME"
source "$PROFILECONFIGDIR/prepare-rc-files.sh"
# screen -X setenv HOME "$HOME"
# screen -X setenv HOSTNAME "$HOSTNAME"
# screen -X setenv PROFILECONFIGDIR "$PROFILECONFIGDIR"
# screen -X setenv MACHINECONFIGDIR "$MACHINECONFIGDIR"
# Load the machine version of this file
source_machine_version bash_profile