-
Notifications
You must be signed in to change notification settings - Fork 3
/
env.sh
47 lines (36 loc) · 1.51 KB
/
env.sh
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
export ALTERNATE_EDITOR='emacs -nw -q'
export GIT_SEQUENCE_EDITOR='emacsclient'
export OPEN_IN_EDITOR=~/bin/code
export HOMEBREW_NO_AUTO_UPDATE=1
export LESS='-FIR'
export DELTA_PAGER='less -FR'
export GH_PAGER=delta
export PIP_INDEX_URL=
export PSQL_EDITOR="emacsclient --eval \"(setq-default major-mode 'sql-mode)\"; emacsclient"
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
export LS_COLORS="$(vivid generate one-light)"
export XDG_DATA_HOME=$HOME/.local/share
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export FZF_DEFAULT_COMMAND='fd'
fzf-set-environment-variables
# To add local TeX .sty files:
# Add to /opt/homebrew/texlive/texmf-local/tex/latex/local
# Run `texhash`
__dan_is_macos && export MANPATH="$MANPATH:/opt/homebrew/opt/coreutils/libexec/gnuman" # $(brew --prefix coreutils) is too slow
# export MPLBACKEND="module://itermplot" ITERMPLOT=rv
export HOMEBREW_PREFIX="/opt/homebrew"
export HOMEBREW_CELLAR="/opt/homebrew/Cellar"
export HOMEBREW_REPOSITORY="/opt/homebrew"
export HOMEBREW_SHELLENV_PREFIX="/opt/homebrew"
export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:"
export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}"
export JAVA_HOME=/opt/homebrew/opt/openjdk@17
export PATH=$JAVA_HOME/bin:$PATH
export CPPFLAGS="-I$JAVA_HOME/include"
# export GOPATH=$HOME/go
# export GOROOT="$(brew --prefix go)/libexec"
# export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
export FORGIT_FZF_DEFAULT_OPTS="--ansi --layout=reverse-list"
export AIDER_LIGHT_MODE=1
export AIDER_GITIGNORE=0