-
Notifications
You must be signed in to change notification settings - Fork 0
/
env
executable file
·49 lines (38 loc) · 1.25 KB
/
env
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
#!/bin/sh
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-"$HOME/.config"}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-"$HOME/.local/share"}"
export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-"$HOME/.run"}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-"$HOME/.cache"}"
export SCRIPTS_DIR="$HOME/bin"
# fix for https://github.com/swaywm/sway/issues/595
export _JAVA_AWT_WM_NONREPARENTING=1
# workaround for issue with qtwebengine + opengl + nouveau
# see https://bugs.archlinux.org/task/59057
export QT_XCB_FORCE_SOFTWARE_OPENGL=1
# opt out of telemetry
export HOMEBREW_NO_ANALYTICS=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1
# ===========
# shell stuff
# ===========
export BASH_ENV="$HOME/.bash_env"
export CLICOLOR=1
# ================================
# other path environment variables
# ================================
# ==> nvim-remote
export NVIM_LISTEN_ADDRESS=/tmp/nvimsocket
# ==> colors
export BASE16_SHELL_HOOKS=${XDG_CONFIG_HOME:-"$HOME/.config"}/colors/base16-shell-hooks
export BASE16_SHELL=${XDG_CONFIG_HOME:-"$HOME/.config"}/colors/base16-shell
# ======================
# inlude other env files
# ======================
for file in $HOME/.env.d/*; do
if [ -x "$file" ]; then
. "$file"
fi
done