-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zprofile
58 lines (43 loc) · 1.33 KB
/
.zprofile
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
typeset -U PATH path
path=("$HOME/.local/bin" "$HOME/.npm-global/bin" "/usr/lib/ccache/bin", "$path[@]")
export PATH
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
export XDG_STATE_HOME=$HOME/.local/state
export XDG_CACHE_HOME=$HOME/.cache
export ZSH_CUSTOM=${XDG_DATA_HOME}/oh-my-zsh/custom
export TERMINAL="alacritty"
export BROWSER="firefox-developer-edition"
export BC_ENV_ARGS="$HOME/.config/bc"
export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export OPENCV_LOG_LEVEL=ERROR
# https://github.com/MicrosoftDocs/live-share/issues/180
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
export DISABLE_AUTO_UPDATE=true
export HOSTNAME=$HOST
EDITOR="vim"
if type nvim &> /dev/null; then
EDITOR="nvim"
fi
export EDITOR
export DIFFPROG="$EDITOR -d"
export BEMENU_OPTS="-il 15 -p '> ' --fn 'sans-serif 14' --scrollbar autohide"
# Load host-specific environment
export ENV_HOME="$XDG_CONFIG_HOME/env"
if [ -d "$ENV_HOME" ]; then
source <(cat $ENV_HOME/* 2> /dev/null) > /dev/null
#for file in "$ENV_HOME/*" ; do
# echo $file
# if [ -f "$file" ] ; then
# source "$file"
# fi
#done
fi
if [ -d "$ENV_HOME/$HOST" ]; then
source <(cat $ENV_HOME/$HOST/* 2> /dev/null) > /dev/null
fi
if [ -f ~/.zshsecret ]; then
source ~/.zshsecret
fi