-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzsh_env
43 lines (33 loc) · 1.03 KB
/
zsh_env
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
# zsh-history-substring-search configuration
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
# fnm
# export PATH=/Users/rjhilgefort/.fnm:$PATH
# eval "$(fnm env)"
# eval "`fnm env`"
# fasd
# eval "$(fasd --init auto)"
# https://direnv.net/docs/hook.html#zsh
eval "$(direnv hook zsh)"
# starship
eval "$(starship init zsh)"
# colorls - https://github.com/athityakumar/colorls
# source $(dirname $(gem which colorls))/tab_complete.sh
# Always list after cd
# cd() { builtin cd "$@"; colorls -A --sort-dirs; }
export YVM_DIR=/usr/local/opt/yvm
[ -r $YVM_DIR/yvm.sh ] && . $YVM_DIR/yvm.sh
export VISUAL=vim
export EDITOR="$VISUAL"
export AWS_DEFAULT_REGION=us-west-1
# Path updates
path+=($HOME'/.bin')
path+=($HOME'/.scripts')
path+=($HOME'/.yarn/bin')
path+=($HOME'/.config/yarn/global/node_modules/.bin')
path+=($HOME'/Library/Python/3.8/bin')
path+=($HOME'/Library/Python/3.9/bin')
path+=($HOME'/.local/bin')
path+=('/opt/homebrew/opt/libpq/bin')
export PATH