-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zshenv
61 lines (57 loc) · 1.58 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
typeset -gx -U path
path=( \
~/bin(N-/) \
/opt/homebrew/bin(N-/) \
/opt/homebrew/opt/ruby/bin(N-/) \
$(gem environment gemdir)/bin(N-/) \
~/.local/share/aquaproj-aqua/bin(N-/) \
~/ghq/bin(N-/) \
/usr/local/bin(N-/) \
/usr/sbin(N-/) \
~/.local/bin(N-/) \
~/.tmux/bin(N-/) \
~/.nimble/bin(N-/) \
~/.yarn/bin(N-/) \
~/.julia/conda/3/bin(N-/) \
~/.nimble/bin(N-/) \
~/.deno/bin(N-/) \
~/Library/ApplicationSupport/Coursier/bin(N-/) \
/usr/local/opt/libpq/bin(N-/) \
/usr/local/opt/llvm/bin(N-/) \
~/.gem/ruby/2.6.0/bin(N-/) \
~/Library/Python/3.9/bin(N-/) \
/opt/homebrew/opt/openjdk@17/bin(N-/) \
$HOME/.krew/bin(N-/) \
~/.luarocks/bin(N-/) \
~/Library/Application\ Support/Coursier/bin(N-/) \
~/.cargo/bin(N-/) \
~/.rd/bin(N-/) \
~/.tmux/plugins/tpm/bin(N-/) \
"$path[@]" \
)
typeset -gx -U fpath
fpath=( \
~/.zsh/Completion(N-/) \
~/.zsh/functions(N-/) \
~/.zsh/plugins/zsh-completions(N-/) \
/usr/local/share/zsh/site-functions(N-/) \
$fpath \
)
# History
# History file
export HISTFILE=~/.zsh_history
# History size in memory
export HISTSIZE=10000
# The number of histsize
export SAVEHIST=1000000
# The size of asking history
export LISTMAX=50
# Do not add in root
if [[ $UID == 0 ]]; then
unset HISTFILE
export SAVEHIST=0
fi
# Config
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
. "$HOME/.cargo/env"