-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc.mac
57 lines (47 loc) · 1.17 KB
/
.bashrc.mac
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
#
# .bashrc for Mac-specific stuff
#
. $HOME/.bashrc.funcs
. $HOME/.bashrc.funcs.mac
# bump up the default # of files and the default stack size per process.
ulimit -n unlimited -s 16384
if [ -d $HOME/Documents/src ]
then
export src=$HOME/Documents/src
else
export src=$HOME/src
fi
export dt=$src/depot_tools
if [ -d /usr/local/Homebrew ]
then
HOMEBREW=/usr/local
elif [ -d /opt/homebrew ]
then
HOMEBREW=/opt/homebrew
elif [ -d $HOME/homebrew ]
then
HOMEBREW=$HOME/homebrew
fi
export PATH=
ip $HOME/mbin $HOME/bin $dt $HOMEBREW/bin $src/google-cloud-sdk/bin \
/usr/local/bin /usr/local/sbin /usr/sbin /usr/bin /sbin /bin
if which mvim > /dev/null
then
export EDITOR=vim
else
export EDITOR=vi
fi
export EMAIL_ADDRESS=dpranke@chromium.org
export HISTSIZE=500
export INFOPATH=/usr/local/info:/opt/local/info
export MANPATH=/usr/local/share/man:/opt/local/man:/usr/share/man
export NINJA_JOBS=''
export PAGER=less
export BASH_SILENCE_DEPRECATION_WARNING=1
# TODO: Figure out if I still want to use this
. $HOME/.git_completion.bash
# Enable shell completion for gcloud.
if [ -f "$src/google-cloud-sdk/completion.bash.inc" ]
then
. "$src/google-cloud-sdk/completion.bash.inc"
fi