forked from dgertych-monterail/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
95 lines (74 loc) · 3.43 KB
/
Copy pathzshrc
File metadata and controls
95 lines (74 loc) · 3.43 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# == source-dependency ==
source ~/dotfiles/zsh/history.zsh
source ~/dotfiles/zsh/variables.zsh
source ~/dotfiles/zsh/aliases.zsh
source ~/dotfiles/zsh/functions.zsh
source ~/dotfiles/zsh/prompt.zsh
source ~/dotfiles/zsh/tmux.zsh
source ~/dotfiles/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/dotfiles/zsh-history-substring-search/zsh-history-substring-search.zsh
source ~/dotfiles/zsh/recruitee.zsh
source ~/dotfiles/zsh/ubots.zsh
export TERM="xterm-256color"
# == PATH ==
export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/sbin:$PATH
export PATH=/opt/homebrew/bin:$PATH
export PATH=/opt/homebrew/sbin:$PATH
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$PATH:/Applications/Obsidian.app/Contents/MacOS"
# export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"
export PYTHONPATH=$PYTHONPATH:/usr/bin/
fpath=(/usr/local/share/zsh-completions $fpath)
fpath=(~/dotfiles/ohmyzsh/plugins/gitfast $fpath)
bindkey -e
# bindkey -r "^L"
# bindkey -r "^[^L"
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
export NODE_OPTIONS=--max_old_space_size=8192
# Can't install erlang without it
# https://github.com/asdf-vm/asdf-erlang/issues/157
# export CFLAGS="-O2 -g -fno-stack-check -Wno-error=implicit-function-declaration"
export ERL_AFLAGS="$ERL_AFLAGS -kernel shell_history enabled"
# export KERL_CONFIGURE_OPTIONS="
# --without-javac \
# --disable-jit \
# --with-ssl=$(brew --prefix openssl@1.1) \
# "
# Fix: hackney_happy uses inet_res (DNS-first), which resolves *.internal to wrong public IP.
# Disarm inet_db's resolv.conf file-watcher and clear nameservers so inet_res fails fast
# and hackney falls back to /etc/hosts. See https://app.clickup.com/t/86c8erknz
export ERL_AFLAGS="$ERL_AFLAGS -eval 'inet_db:res_option(resolv_conf, \"\"), inet_db:res_option(nameserver, []), inet_db:res_option(alt_nameserver, []), inet_db:clear_cache()'"
export KERL_CONFIGURE_OPTIONS=
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
plugins=(asdf)
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/adam/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/adam/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/adam/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/adam/google-cloud-sdk/completion.zsh.inc'; fi
. ~/.linuxify
# https://stackoverflow.com/questions/52510499/the-following-icu-libraries-were-not-found-i18n-required
# If you need to have icu4c@76 first in your PATH, run:
# echo 'export PATH="/opt/homebrew/opt/icu4c@76/bin:$PATH"' >> ~/.zshrc
# echo 'export PATH="/opt/homebrew/opt/icu4c@76/sbin:$PATH"' >> ~/.zshrc
# For compilers to find icu4c@76 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/icu4c@76/lib"
export CPPFLAGS="-I/opt/homebrew/opt/icu4c@76/include"
# For pkg-config to find icu4c@76 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c@76/lib/pkgconfig"
# Added by Antigravity
export PATH="/Users/adam/.antigravity/antigravity/bin:$PATH"
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
# opencode
export PATH=/Users/adam/.opencode/bin:$PATH
# direnv - auto-load .env per project
export DIRENV_LOG_FORMAT=
eval "$(direnv hook zsh)"
# https://karanbansal.in/blog/claude-code-lsp/
export ENABLE_LSP_TOOL=1