-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathzshenv
More file actions
92 lines (74 loc) · 2.23 KB
/
zshenv
File metadata and controls
92 lines (74 loc) · 2.23 KB
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
# _
# | |
# ____ ___ | |__ ___ _ __ __ __
# |_ // __|| '_ \ / _ \| '_ \\ \ / /
# / / \__ \| | | || __/| | | |\ V /
# /___||___/|_| |_| \___||_| |_| \_/
#
# Profiling start
# zmodload zsh/zprof
# zsh
export ZSH_DIR="$HOME/.zsh"
# jump over whole words
export WORDCHARS='`~!@#$%^&*()-_=+[{]};:\"\|,<.>/?'
# Nuxt framework specific
# prevent it from failing on my machine
export NUXT_TELEMETRY_DISABLED=1
# open in my editor of choice for https://github.com/yyx990803/launch-editor
export LAUNCH_EDITOR="open-neovim"
# Vite+ bin (https://viteplus.dev)
source "$HOME/.vite-plus/env"
# PATH
# 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"
# deno
export DENO_INSTALL="$HOME/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
# brew - direct path setup to save ~286ms on startup
export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}"
if [[ -x /home/linuxbrew/.linuxbrew/bin/brew ]]; then
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"
export HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"
[ -z "${MANPATH-}" ] || export MANPATH=":${MANPATH#:}"
fi
# 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=2000
# Profiling end
# zprof