-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zshenv
59 lines (45 loc) · 1.93 KB
/
.zshenv
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
# If you come from bash you might have to change your $PATH. This is
# here for keeping the path consistent across Mac and Linux. Linux
# already has these paths correctly set up.
export PATH=$HOME/bin:/usr/local/bin:/opt/homebrew/opt/gnupg@2.2/bin:$PATH
# Add `diff-highlight` to the path for OSX. For Linux, please copy it
# from /usr/share/doc/git/contrib/diff-highlight/diff-highlight to
# somewhere on the PATH and give it a+x perms
export PATH="$PATH:/usr/local/Cellar/git/$(git --version | cut -f3 -d' ')/share/git-core/contrib/diff-highlight"
# Add my binaries to the path
export PATH="$PATH:${HOME}/src/bin"
# Add cargo/bin to the path.
export PATH="$PATH:${HOME}/.cargo/bin"
. "$HOME/.cargo/env"
# Define RUST_SRC_PATH for tooling to work.
export RUST_SRC_PATH="${HOME}/src/rust"
# Add Golang to the path
export GOPATH="$HOME/src/golang"
export PATH="$GOPATH/bin:/usr/local/go/bin:$PATH"
# Add NPM to the Path
export PATH="$PATH:/usr/local/npm_packages/bin"
# Emacs for everything!
if [ -f "/Applications/Emacs.app/Contents/MacOS/Emacs" ]; then
export EMACS="/Applications/Emacs.app/Contents/MacOS/Emacs"
alias emacs="$EMACS -nw"
fi
if [ -f "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" ]; then
export PATH="$PATH:/Applications/Emacs.app/Contents/MacOS/bin"
fi
export EDITOR=emacsclient
export CSCOPE_EDITOR=emacsclient
export VISUAL=emacsclient
# Add Cask to the Path
export PATH="$HOME/.cask/bin:$PATH"
# Ensure that Brew texinfo is picked before system installed texinfo
export PATH="/usr/local/opt/texinfo/bin:$PATH"
# Add podman alias
alias docker=podman
# Add Pygments to the path
export PATH="$HOME/.local/bin:$PATH"
# Add Graal VM to the path
export GRAALVM_HOME="$HOME/src/bin/graalvm-ce-java11-21.3.0"
# Add PostgreSQL.App CLI tools to the path
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
# Create XDG_CONFIG_HOME to avoid creating another dot directory
export XDG_CONFIG_HOME="$HOME/.config"