forked from jessfraz/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.path
42 lines (31 loc) · 1.46 KB
/
.path
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
#!/bin/sh
# go path
export GOPATH="${HOME}/.go"
# update path
export PATH=/usr/local/bin:${PATH}:/sbin
# add go path
export PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}"
# add rust path
export PATH="${HOME}/.cargo/bin:${PATH}"
# add bcc tools path
export PATH="/usr/share/bcc/tools:${PATH}"
# update cdpath
export CDPATH=${CDPATH}:${GOPATH}/src/github.com:${GOPATH}/src/golang.org:${GOPATH}/src
# The next line updates PATH for the Google Cloud SDK.
# shellcheck source=/dev/null
if [ -f "${HOME}/google-cloud-sdk/path.bash.inc" ]; then . "${HOME}/google-cloud-sdk/path.bash.inc"; fi
# The next line enables shell command completion for gcloud.
# shellcheck source=/dev/null
if [ -f "${HOME}/google-cloud-sdk/completion.bash.inc" ]; then . "${HOME}/google-cloud-sdk/completion.bash.inc"; fi
# update path for gnu coreutils, make & find on darwin
export PATH=/usr/local/opt/coreutils/libexec/gnubin:${PATH}
export MANPATH=/usr/local/opt/coreutils/libexec/gnuman:${MANPATH}
export PATH=/usr/local/opt/make/libexec/gnubin:${PATH}
export MANPATH=/usr/local/opt/make/libexec/gnuman:${MANPATH}
export PATH=/usr/local/opt/findutils/libexec/gnubin:${PATH}
export MANPATH=/usr/local/opt/findutils/libexec/gnuman:${MANPATH}
# update path for Chromium depot_tools
export PATH="${PATH}:${HOME}/depot_tools"
# Add bash completion for Chromium depot_tools
# shellcheck source=/dev/null
if [ -f "${HOME}/depot_tools/git_cl_completion.sh" ]; then . "${HOME}/depot_tools/git_cl_completion.sh"; fi