blob: 69fa266d0309ed1944ba18efaec3619097cc09d6 (
plain)
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
|
# env
# ========================
# ===== ===============
# ====== ================
# ====== ================
# ====== ==== ==== ==
# ====== === == = =
# ====== === = == =
# = === === = == ====
# = === === = == = =
# == ===== ==== ==
# ========================
unset MAILCHECK
# xdg
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_CACHE_HOME="$HOME"/.cache
export XDG_PACKAGE_HOME="$HOME"/.local/packs
export XDG_DESKTOP_DIR="$HOME"
export XDG_DOCUMENTS_DIR="$HOME"/docs
export XDG_DOWNLOAD_DIR="$HOME"/dl
export XDG_MUSIC_DIR="$HOME"/mu
export XDG_PICTURES_DIR="$HOME"/pics
export XDG_VIDEOS_DIR="$HOME"/vids
export XDG_RUNTIME_DIR=/var/run/"$USER"
# Apps
export EDITOR='nvim'
export VISUAL="${EDITOR}"
export PAGER='less'
export MANPAGER='less'
export TERMINAL='alacritty'
export BROWSER='firefox'
export READER='zathura'
export FILE='lf'
# UTF-8
export CHARSET='UTF-8'
export LANG='en_US.UTF-8'
# export LANG='C'
export LC_COLLATE='C'
export LC_ALL=''
# Cleanup
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android
export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android
export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export CCACHE_CONFIGPATH="$XDG_CONFIG_HOME"/ccache.conf
export CCACHE_DIR="$XDG_CACHE_HOME"/ccache
export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
export FOSSGIT="$XDG_DATA_HOME"/fossil/git_exports
export FOSSIL="$XDG_DATA_HOME"/fossil/repos
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export GPG_TUI_CONFIG="$XDG_CONFIG_HOME"/gpg-tui/gpg-tui.toml
export GOPATH="$XDG_DATA_HOME"/go
export GOBIN="$GOPATH"/bin
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_DATA_HOME"/java
export LESSHISTFILE='-'
export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
export MOST_INITFILE="$XDG_CONFIG_HOME"/mostrc
export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
export PYENV_ROOT="$HOME"/.pyenv
export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
export STACK_ROOT="$XDG_DATA_HOME"/stack
export TSH_HOME="$XDG_CONFIG_HOME"/tsh
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export XINITRC="$XDG_CONFIG_HOME"/x11/xinitrc
export XSERVERRC="$XDG_CONFIG_HOME"/x11/xserverrc
export _Z_DATA="$XDG_DATA_HOME"/z
# ccache
export CCACHE_PATH='/usr/bin:/usr/local/bin:/usr/local/llvm11/bin'
export CCACHE_DIR='/var/cache/ccache-jozan'
export CCACHE_LOGFILE='/var/log/ccache.log'
# Apps config
export BAT_THEME='gruvbox-dark'
export BAT_PAGER='less'
export FZF_DEFAULT_COMMAND='fd -i -H -c never -j9 -E .git -E dotfiles-bsd -E .ccls-cache -E GIMP -E iridium -E google-chrome -E chromium -E elpa -E Gpredict -E .cache'
# export FZF_DEFAULT_COMMAND='rg --color never --files --hidden'
export FZF_DEFAULT_OPTS='--height 60% --layout=reverse --border=left --tabstop=4'
export LESS='-R -c -S'
export MPD_HOST="$XDG_DATA_HOME"/mpd/socket
export RUSTFLAGS='-L /usr/local/lib'
export WWW_HOME='https://start.duckduckgo.com/'
export YTFZF_HIST='0'
# PATH
export PATH="$HOME"/.local/bin:"$HOME"/.local/bin/status:/usr/local/llvm13/bin:"$HOME"/.pyenv/bin:"$PATH"
|