forked from jimlawton/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvars
More file actions
105 lines (85 loc) · 4 KB
/
vars
File metadata and controls
105 lines (85 loc) · 4 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#########################################################################
# Temporary aliases useful for demos, other current projects
#########################################################################
export MYCODE=~/git
export MYDOWNLOADS=~/Downloads
export MYDOCUMENTS=~/Documents
export MYECLIPSE=~/workspace
export MYLOCAL=/local/${USER}/
export OS=$(uname -s)
#########################################################################
# Tool settings
#########################################################################
# Set the default pager to less
export PAGER="less"
# Set less to have a default flag of -R (RAW) so color passes through
export LESS="-R"
#GPG_TTY=$(tty)
#export GPG_TTY
#########################################################################
# Shell settings
#########################################################################
export HISTCONTROL=ignoredups:erasedups
export HISTSIZE=2000
export HISTFILESIZE=2000
export HISTTIMEFORMAT="%F %T "
export HOSTNAME=`hostname -s`
COMP_WORDBREAKS="${COMP_WORDBREAKS}:"
export EDITOR=vi
export PAGER=less
export PSSH_HOSTS=~/.hosts_file
# List of all machines in our desktop "cluster".
export CLUSTER="lightning gemini saturn jalapeno blackhawk hydrogen helium lithium nitrogen neon boron beryllium carbon oxygen"
export POWER_IP="193.120.91.113"
export POWER_PORT=2
export POWERCYCLE="/local/$USER/work/svn/stbtools/trunk/share/python/power.py $POWER_IP $POWER_PORT cycle"
if [ -d /local/$USER ]; then
export CCACHE_DIR=/local/$USER/.ccache
fi
export TMOUT=0
# Go.
export GOPATH=~/go
export GOROOT=/usr/local/opt/go
# Manpages colour schemes.
# Mostly magenta...
#export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode - red
#export LESS_TERMCAP_md=$(printf '\e[01;35m') # enter double-bright mode - bold, magenta
#export LESS_TERMCAP_me=$(printf '\e[0m') # turn off all appearance modes (mb, md, so, us)
#export LESS_TERMCAP_se=$(printf '\e[0m') # leave standout mode
#export LESS_TERMCAP_so=$(printf '\e[01;33m') # enter standout mode - yellow
#export LESS_TERMCAP_ue=$(printf '\e[0m') # leave underline mode
#export LESS_TERMCAP_us=$(printf '\e[04;36m') # enter underline mode - cyan
# Bolder...
export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode
export LESS_TERMCAP_md=$(printf '\e[01;38;5;75m') # enter double-bright mode
export LESS_TERMCAP_me=$(printf '\e[0m') # turn off all appearance modes (mb, md, so, us)
export LESS_TERMCAP_se=$(printf '\e[0m') # leave standout mode
export LESS_TERMCAP_so=$(printf '\e[01;33m') # enter standout mode
export LESS_TERMCAP_ue=$(printf '\e[0m') # leave underline mode
export LESS_TERMCAP_us=$(printf '\e[04;38;5;200m') # enter underline mode
#export SERVER=`/sbin/ifconfig eth0 | grep "inet addr" | awk '{print $2}' | awk -F: '{print $2}'`
umask 002
# Set vim as our default command line editor
export EDITOR='vim'
export XXDIFF_EDITOR="xterm -e 'vi %s'"
export PYTHONSTARTUP=~/.pythonrc
export PRINTER=baird
# Set work proxy defaults.
#export S3_PROXY="http://193.120.90.34:3128/"
#export S3_PROXY="http://avproxyvlan.dublin.s3group.com:8080/"
export S3_PROXY="http://avproxylan.dublin.s3group.com:8080/"
export S3_AUTO_PROXY="http://proxy.s3group.com/proxy.pac"
# Split into host and port.
export S3_PROXY_HOST=$(echo ${S3_PROXY} | awk -F: '{printf("%s:%s\n",$1,$2);}')
export S3_PROXY_PORT=$(echo ${S3_PROXY} | awk -F: '{print $3}' | sed 's:/::')
export S3_NO_PROXY="localhost,127.0.0.0/8,10.0.0.0/8,.local,.s3group.com,192.168.249.0/24,192.168.248.0/24,193.120.88.0/24,192.168.249.25,git-mirrors,cmf-jenkins,jenkins-rdkcmf,rdkcmf-gerritmaster,protex"
# virtualenvwrapper
export WORKON_HOME=$HOME/.virtualenvs
# All new environments isolated from the site-packages directory.
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
# Use the same directory for virtualenvs as virtualenvwrapper.
export PIP_VIRTUALENV_BASE=$WORKON_HOME
# Make pip detect an active virtualenv and install to it
export PIP_RESPECT_VIRTUALENV=true
# Make pip only install into a virtualenv.
export PIP_REQUIRE_VIRTUALENV=true