summaryrefslogtreecommitdiffstats
path: root/.config/env
blob: 1071545c64eb650313a083753e5bef8590e5ced3 (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
# env
# ========================
# =====    ===============
# ======  ================
# ======  ================
# ======  ====   ====   ==
# ======  ===     ==  =  =
# ======  ===  =  ==     =
# =  ===  ===  =  ==  ====
# =  ===  ===  =  ==  =  =
# ==     =====   ====   ==
# ========================

# 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

# Apps
export EDITOR="editorcmd"
export VISUAL="${EDITOR}"
export PAGER='less'
export TERMINAL='st'
export BROWSER='iridium'
export READER='zathura'
export FILE='lf'

# UTF-8
export CHARSET='UTF-8'
export LANG='en_US.UTF-8'
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 GNUPGHOME="$XDG_DATA_HOME"/gnupg
export GPG_TUI_CONFIG="$XDG_CONFIG_HOME"/gpg-tui/gpg-tui.toml
export GOPATH="$XDG_DATA_HOME"/go
export GOBIN="$GOPATH"/bin
export FOSSGIT="$XDG_DATA_HOME"/fossil/git_exports
export FOSSIL="$XDG_DATA_HOME"/fossil/repos
export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
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 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 WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default
export XINITRC="$XDG_CONFIG_HOME"/x11/xinitrc
export XSERVERRC="$XDG_CONFIG_HOME"/x11/xserverrc

# 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 FZF_DEFAULT_COMMAND="ag -g '' -i --hidden --nocolor --ignore .git --ignore dotfiles-bsd --ignore .ccls-cache --ignore GIMP --ignore iridium --ignore google-chrome --ignore chromium --ignore elpa --ignore Gpredict --ignore .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 LESSHISTFILE='-'
export MANPAGER="less -R -M +Gg"
export MPD_HOST="$HOME"/.local/share/mpd/socket
export RUSTFLAGS="-L /usr/local/lib"
export WWW_HOME="https://start.duckduckgo.com/"
export BAT_THEME="gruvbox-dark"

# PATH
export PATH="$HOME"/.local/bin:"$GOBIN":"$XDG_PACKAGE_HOME"/fzf-zsh-plugin/bin:"$XDG_DATA_HOME"/cargo/bin:"$PATH":/usr/local/llvm13/bin:/usr/local/llvm12/bin