blob: 81ff31fbed508d8506aa885d6719b4669245d413 (
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
|
#!/bin/sh
# Filip's envvarrc
# This litte script sets my environment variables.
# Primary programs
export BROWSER="librewolf"
export EDITOR="nvim"
export IMAGE_VIEWER="feh"
export MANPAGER="vim -M +MANPAGER -"
export TERMINAL="st"
export SHELL="zsh"
# XDG base directories
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
# PATH and scripts
export SCRIPTS="$HOME/.scripts"
for dir in \
"$SCRIPTS" \
"$HOME/langs/R" \
"$HOME/.cargo/bin" \
"$HOME/.local/bin"
do
[ -d "$dir" ] && PATH="$dir:$PATH"
done
export PATH
# Shell / config locations
export ZDOTDIR="$XDG_CONFIG_HOME/shell"
export ZSHDIR="$ZDOTDIR"
export ALIASRC="$ZDOTDIR/aliasrc"
export ENVVARRC="$ZDOTDIR/envvarrc"
# X / input
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
export XINPUTRC="$XDG_CONFIG_HOME/x11/xinputrc"
export XPROFILE="$XDG_CONFIG_HOME/x11/xprofile"
# Language runtimes & tools
# R
export R_HOME="/usr/lib/R"
export R_LIBS_USER="$HOME/langs/R"
export R_PROFILE="$HOME/langs/R/.Rprofile"
export R_HISTFILE="$HOME/langs/R/.Rhistory"
# Go
export GOPATH="$HOME/langs/go"
# Python / Conda
export _CONDA_ROOT="$HOME/.local/opt/miniconda3"
export IPYTHONDIR="$XDG_CONFIG_HOME/ipython"
# Ren'Py
export RENPY_USER="$HOME/langs/python/renpy"
# ZSH
export ZVM_SYSTEM_CLIPBOARD_ENABLED="true"
export ZVM_CLIPBOARD_COPY_CMD="xclip -selection clipboard"
export ZVM_CLIPBOARD_PASTE_CMD="xclip -selection clipboard -o"
# Neovim
export NVIMPLUGINS="$XDG_CONFIG_HOME/nvim/lua/plugins"
export NVIMSNIPPETS="$XDG_CONFIG_HOME/nvim/lua/snips"
# CLI / TUI tools
export TIGRC_USER="$XDG_CONFIG_HOME/tig/tigrc"
export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship/starship.toml"
export STARSHIP_CACHE="$XDG_CACHE_HOME/starship/cache"
export SUDO_ASKPASS="askpass"
# Applications & data
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export STARDICT_DATA_DIR="$XDG_DATA_HOME/stardict"
export OBSIDIAN_HOME="$XDG_CACHE_HOME/obsidian"
# Locale
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="UTF-8"
|