-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
59 lines (46 loc) · 1.27 KB
/
.zshrc
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
# Unix
export EDITOR='vim'
export TERM='xterm-256color'
export LANG='en_US.UTF-8'
export LC_COLLATE='en_US.UTF-8'
export LC_CTYPE='en_US.UTF-8'
export LC_MESSAGES='en_US.UTF-8'
export LC_MONETARY='en_US.UTF-8'
export LC_NUMERIC='en_US.UTF-8'
export LC_TIME='en_US.UTF-8'
export LC_ALL='en_US.UTF-8'
# zsh
bindkey -e
bindkey \^u backward-kill-line
# Go
export GOROOT=/usr/local/opt/go/libexec
export GOPATH=/usr/local/go
export PATH=$PATH:$GOROOT/bin
export PATH=$PATH:$GOPATH/bin
# GPG
export GPG_TTY=$(tty)
# Node
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
# Deno
export DENO_INSTALL="$HOME/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
# OCaml
. /Users/work/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
# PlaidML
export PLAIDML_NATIVE_PATH=/usr/local/lib/libplaidml.dylib
export RUNFILES_DIR=/usr/local/share/plaidml
# Rust
export PATH="$HOME/.cargo/bin:$PATH"
# Ruby
if [[ -e $HOME/.rvm ]]; then
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
export PATH="$PATH:$HOME/.rvm/bin"
fi
export PATH="$HOME/.rvm/gems/ruby-2.7.1/bin:$PATH"
# Wasmer
export WASMER_DIR="$HOME/.wasmer"
[ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh"
# GPG
export GPG_TTY=$(tty)
# Misc
export PATH=$PATH:$HOME/.local/bin