-
Notifications
You must be signed in to change notification settings - Fork 1
/
zshenv
103 lines (84 loc) · 2.4 KB
/
zshenv
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
98
99
100
101
102
# _
# | |
# ____ ___ | |__ ___ _ __ __ __
# |_ // __|| '_ \ / _ \| '_ \\ \ / /
# / / \__ \| | | || __/| | | |\ V /
# /___||___/|_| |_| \___||_| |_| \_/
#
# zsh
export ZSH_DIR="$HOME/.zsh"
# jump over whole words
export WORDCHARS='`~!@#$%^&*()-_=+[{]};:\"\|,<.>/?'
# is this inside Windows subsystem for Linux
if uname -a | grep -i Microsoft >/dev/null; then
export WSL=true
else
export WSL=false
fi
# Nuxt framework specific
# prevent it from failing on my machine
export NUXT_TELEMETRY_DISABLED=1
# PATH
# Generated for envman. DEPRECATED? Used by webinstall?
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
# my bin folders
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# pnpm
export PNPM_HOME="$HOME/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
# fnm
export PATH="$HOME/.local/share/fnm:$PATH"
which fnm >/dev/null && eval "$(fnm --log-level=error env --use-on-cd)"
# deno
export DENO_INSTALL="$HOME/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
# brew
export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}";
[ -x /home/linuxbrew/.linuxbrew/bin/brew ] && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# vscode
export PATH=$PATH:/usr/share/code
# forgit
export PATH="$PATH:$FORGIT_INSTALL_DIR/bin"
# ripgrep
export RIPGREP_CONFIG_PATH=$HOME/dotfiles/ripgrep_config
# dotnet
export DOTNET_ROOT="$HOME/.dotnet"
export PATH="$PATH:$DOTNET_ROOT"
export PATH="$PATH:$DOTNET_ROOT/tools" # for photo-cli
# user environment
export PAGER=/usr/bin/less
export EDITOR=nvim
export VISUAL=nvim
export BROWSER=/usr/bin/firefox
# user locale
export LANG=en_US.UTF8
export LANGUAGE=en_US.UTF8
export LC_ALL=en_US.UTF8
export LC_CTYPE=en_US.UTF8
export LC_NUMERIC=en_US.UTF8
# export LC_TIME=cs_CZ.UTF8
export LC_TIME=cs_CZ.UTF8
export LC_COLLATE=en_US.UTF8
export LC_MONETARY=en_US.UTF8
export LC_MESSAGES=en_US.UTF8
export LC_PAPER=en_US.UTF8
export LC_NAME=en_US.UTF8
export LC_ADDRESS=en_US.UTF8
export LC_TELEPHONE=en_US.UTF8
export LC_MEASUREMENT=en_US.UTF8
export LC_IDENTIFICATION=en_US.UTF8
# user prompt
export PURE_CMD_MAX_EXEC_TIME=10000
# i3wm workspaces
export WS_1="1: "
export WS_2="2: "
export WS_3="3: "
export WS_4="4: "
export WS_5="5: "
export WS_6="6: "
export WS_7="7: "
export WS_8="8: "
export WS_9="9: "
export WS10="10: "
export WS11="11: "