-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zprofile
39 lines (34 loc) · 895 Bytes
/
.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
## .zprofile
# ignore duplicated path
typeset -U path
# (N-/): do not register if the directory is not exists
# N: NULL_GLOB option (ignore path if the path does not match the glob)
# -: follow the symbol links
# /: ignore files
path=(
$XDG_CONFIG_HOME/zsh.d/functions(N-/)
$HOME/.pyenv/shims(N-/) # pyenv
$HOME/.local/bin(N-/)
/usr/local/opt/coreutils/libexec/gnubin(N-/) # macos
/usr/local/bin(N-/)
/usr/bin(N-/)
/bin(N-/)
/usr/local/sbin(N-/)
/usr/sbin(N-/)
/sbin(N-/)
$path
)
typeset -U fpath
fpath=(
$XDG_CONFIG_HOME/zsh.d/completions(N-/)
$XDG_CONFIG_HOME/zsh.d/functions(N-/)
/usr{/local,}/share/zsh/{site-functions,vendor-completions}(-/N)
$fpath
)
typeset -U manpath
manpath=(
$HOME/.local/share/man(N-/)
$manpath
/usr/{local,}/share/man(N-/)
)
# vim: ft=zsh sw=4 ts=8 sts=4 et: