-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshenv
139 lines (118 loc) · 5.51 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
############################################################################
# Author: Lucas Burns #
# Email: burnsac@me.com #
# Home: https://github.com/lmburns #
############################################################################
skip_global_compinit=1
# setopt no_global_rcs
# [[ -x '/usr/libexec/path_helper' ]] && source <(/usr/libexec/path_helper -s)
export DO_NOT_TRACK=1
export LANGUAGE="en_US.UTF-8"
export LANG="${LANGUAGE}"
export LC_ALL="${LANGUAGE}"
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_STATE_HOME="${HOME}/.local/share/state"
export XDG_DESKTOP_DIR="${HOME}/Desktop"
export XDG_DOWNLOAD_DIR="${HOME}/Downloads"
export XDG_TEMPLATES_DIR="${HOME}/Templates"
export XDG_PUBLICSHARE_DIR="${HOME}/Public"
export XDG_DOCUMENTS_DIR="${HOME}/Documents"
export XDG_MUSIC_DIR="${HOME}/Music"
export XDG_PICTURES_DIR="${HOME}/Pictures"
export XDG_VIDEOS_DIR="${HOME}/Videos"
export XDG_RUNTIME_DIR="/tmp"
export XDG_TEST_DIR="${HOME}/test"
export XDG_PROJECT_DIR="${HOME}/projects"
export XDG_BIN_DIR="${HOME}/bin"
export XDG_MBIN_DIR="${HOME}/mybin"
export BACKUP_DIR="${HOME}/backup"
export LOCAL_OPT="$HOME/opt"
export SUDO_ASKPASS="$XDG_MBIN_HOME/zenity_passphrase"
export BROWSERCLI="w3m"
export SR_BROWSER="$BROWSERCLI"
export RTV_BROWSER="$BROWSERCLI"
export EDITOR='nvim'
# export VISUAL="${EDITOR}"
export GIT_EDITOR="${EDITOR}"
export RGV_EDITOR="${EDITOR} $file +$line"
export LESS="-r -M -f -F -X -i -P ?f%f:(stdin). ?lb%lb?L/%L.. [?eEOF:?pb%pb\%..]"
# export PAGER="${commands[less]:-$PAGER}"
# export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# export MANPAGER="nvim -c 'set ft=man' -"
# export MANPAGER="sh -c 'sed -e s/.\\\\x08//g | bat -l man -p'"
export PERLDOC_PAGER="sh -c 'col -bx | bat -l man -p --theme='kimbie''" \
export PERLDOC_SRC_PAGER="sh -c 'col -bx | bat -l man -p --theme='kimbie''" \
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh" # Only one that is actually needed
export ZHOMEDIR="${XDG_CONFIG_HOME}/zsh"
export ZRCDIR="${ZHOMEDIR}/zsh.d"
export ZDATADIR="${XDG_DATA_HOME}/zsh"
export ZCACHEDIR="${XDG_CACHE_HOME}/zsh"
export BC_ENV_ARGS="-q"
export TEXLIVE="$HOME/texlive"
export VIMRC="${XDG_CONFIG_HOME}/nvim/init.vim"
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME}/notmuch/notmuch-config"
export TIMEWARRIORDB="${XDG_DATA_HOME}/timewarrior/tw.db"
export TASKRC="${XDG_CONFIG_HOME}/task/taskrc"
export TASKDATA="${XDG_CONFIG_HOME}/task"
export RIPGREP_CONFIG_PATH="${XDG_CONFIG_HOME}/ripgrep/ripgreprc"
export WGETRC="${XDG_CONFIG_HOME}/wget/wgetrc"
export TIGRC_USER="${XDG_CONFIG_HOME}/tig/tigrc"
export CARGO_HOME="${XDG_DATA_HOME}/cargo"
export RUSTUP_HOME="${XDG_DATA_HOME}/rustup"
export GOPATH="${HOME}/go"
export GEM_HOME="${XDG_DATA_HOME}/ruby/gems"
export GEM_SPEC_CACHE="${XDG_DATA_HOME}/ruby/specs"
export NPM_CONFIG_CACHE="${XDG_CACHE_HOME}/npm"
export CONDARC="${XDG_CONFIG_HOME}/conda/condarc"
export PYENV_ROOT="${XDG_DATA_HOME}/pyenv"
export PIPX_BIN_DIR="${XDG_DATA_HOME:h}/bin"
export IPYTHONDIR="${XDG_CACHE_HOME}/ipython"
# export PTPYTHON_CONFIG_HOME="${XDG_CONFIG_HOME}/ptpython/config.py"
# export R_USER="${XDG_CONFIG_HOME}/r/R"
export R_ENVIRON_USER="${XDG_CONFIG_HOME}/r/Renviron"
export R_MAKE_VARS_USER="${XDG_CONFIG_HOME}/r/Makevars"
export R_HISTFILE="${XDG_CONFIG_HOME}/r/Rhistory"
export R_PROFILE_USER="${XDG_CONFIG_HOME}/r/Rprofile"
export R_LIBS_USER="${XDG_CONFIG_HOME}/r"
export RLWRAP_HOME="${XDG_DATA_HOME}/rlwrap"
export SQLITE_HISTORY="${XDG_DATA_HOME}/sqlite/history"
export LESSHISTFILE="-"
export PASSWORD_STORE_DIR="${XDG_DATA_HOME}/password-store"
export HOMEBREW_NO_ANALYTICS=1
export HOMEBREW_BAT=1
export HOMEBREW_BAT_CONFIG_PATH="${XDG_CONFIG_HOME}/bat/config"
export HOMEBREW_COLOR=1
export HOMEBREW_NO_AUTO_UPDATE=1
# Aliased to Application\ Support (very annoying spaces)
export DARWIN_CONF_HOME="$HOME/Library/ApplicationSupport"
export OSFONTDIR="$HOME/Library/Fonts"
export BROWSER='/Applications/LibreWolf.app/Contents/MacOS/librewolf-bin'
export GPGME_INCLUDE="/usr/local/Cellar/gpgme/1.16.0/include"
export GPGME_LIB_DIR="/usr/local/Cellar/gpgme/1.16.0/lib"
export GPGME_CONFIG="/usr/local/Cellar/gpgme/1.16.0/bin/gpgme-config"
export LIBGPG_ERROR_INCLUDE="/usr/local/Cellar/libgpg-error/1.42/include"
export LIBGPG_ERROR_LIB_DIR="/usr/local/Cellar/libgpg-error/1.42/lib"
export LIBGPG_ERROR_CONFIG="/usr/local/Cellar/libgpg-error/1.42/bin/gpg-error-config"
export BAT_CONFIG_PATH="${XDG_CONFIG_HOME}/bat/config"
export GNUPGHOME="${XDG_CONFIG_HOME}/gnupg"
export GPG_AGENT_INFO="${GNUPGHOME}/S.gpg-agent"
export PINENTRY_USER_DATA="USE_CURSES=1"
export UMCONFIG_HOME="${XDG_CONFIG_HOME}/um"
export PIER_CONFIG_PATH="${XDG_CONFIG_HOME}/pier/config.toml"
export GRIPHOME="${XDG_CONFIG_HOME}/grip"
export NNN_PLUG='P:preview-tui;f:finder;o:fzopen;d:diffs;t:treeview;v:imgview;J:autojump;e:gpge;d:gpgd;m:mimelist;b:nbak;s:organize;B:_renamer;p:_bat $nnn*;y:-_sync*;L:-_git log;k:-_fuser -kiv $nnn*'
export NNN_FCOLORS='c1e2272e006033f7c6d6abc4'
export NNN_BMS="d:$XDG_CONFIG_HOME/;u:$LOCAL_OPT/;D:$HOME/Documents/"
export NNN_TRASH=1
export NNN_FIFO='/tmp/nnn.fifo'
export URLPORTAL="$XDG_MBIN_HOME/urlportal"
export MATES_DIR="${XDG_DATA_HOME}/mates"
export JAIME_CACHE_DIR="${XDG_CONFIG_HOME}/jaime"
# [[ -x /usr/libexec/path_helper ]] && {
# PATH=""
# eval `/usr/libexec/path_helper -s`
# }
[[ -f $ZDOTIDR/.zshenv ]] && source $ZDOTDIR/.zshenv
# vim:ft=zsh:et:sw=0:ts=2:sts=2: