-
Notifications
You must be signed in to change notification settings - Fork 0
/
.path
41 lines (31 loc) · 1.29 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
#!/bin/sh
# Usually a seperate mount point
export WORKSRC=/work/sourcecode/
# Where I generally put things I script
export PATH=${HOME}/.local/bin:${PATH}
# Add Google Cloud tooling to path
export PATH=${HOME}/.local/google-cloud-sdk/bin:${PATH}
# Add Chromium depot_tools
export PATH=${WORKSRC}/depot_tools:${PATH}
fpath=(${WORKSRC}/depot_tools/zsh-goodies $fpath)
# Add custom npm packages to path
export PATH=${HOME}/.local/npm-global/bin:${PATH}
export N_PREFIX="$HOME/.local/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin"
# Add yarn packages to path
PATH=${HOME}/.local/.yarn/bin:${PATH}
# Add golang to path
export GOROOT=${HOME}/.local/go
export GOPATH=${HOME}/.local/go/code
export PATH=${GOROOT}/bin:${GOPATH}/bin:${PATH}
# The next line updates PATH for the Google Cloud SDK.
if [ -f "${HOME}/.local/google-cloud-sdk/path.zsh.inc" ]; then
source "${HOME}/.local/google-cloud-sdk/path.zsh.inc";
fi
# The next line enables shell command completion for gcloud.
if [ -f "${HOME}/.local/google-cloud-sdk/completion.zsh.inc" ]; then
source "${HOME}/.local/google-cloud-sdk/completion.zsh.inc";
fi
# Lighthouse command completion
if [ -f "${WORKSRC}/lighthouse-autocompletion/lighthouse.plugin.zsh" ]; then
source "${WORKSRC}/lighthouse-autocompletion/lighthouse.plugin.zsh";
fi