-
Notifications
You must be signed in to change notification settings - Fork 0
/
.path
42 lines (30 loc) · 1.16 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
# update path
export PATH="/usr/local/bin:${PATH}:/sbin"
# add local path
export PATH="${HOME}/.local/bin:${PATH}"
# add go path
export GOPATH="${HOME}/.go"
export PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}"
# add rust path
export PATH="${HOME}/.cargo/bin:${PATH}"
# add SML/NJ
export PATH=/usr/local/smlnj/bin:"$PATH"
# add postgresql path
export PATH="/usr/local/psgql/bin:${PATH}"
# add postgresql man path
export MANPATH="/usr/local/pgsql/share/man:${MANPATH}"
# update cdpath
export CDPATH="${CDPATH}:${HOME}/projects:${HOME}/Work"
# add gnubin for mac
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:${PATH}"
# add gnu getopt
export PATH="/usr/local/opt/gnu-getopt/bin:${PATH}"
# 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}"
export PATH="/usr/local/opt/libpq/bin:$PATH"