-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.zshrc
39 lines (33 loc) · 809 Bytes
/
.zshrc
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
#
# $Id: ~/.zshrc Exp $
#
setopt EXTENDED_GLOB
setopt INC_APPEND_HISTORY
if [[ -f ~/.dir_colors ]] {
eval $(dircolors -b ~/.dir_colors)
} elif [[ -f /etc/DIR_COLORS ]] {
eval $(dircolors -b /etc/DIR_COLORS)
} else { eval $(dircolors) }
if [[ -d ~/.zsh/functions ]] {
fpath=(~/.zsh/functions $fpath)
}
if [[ -f ~/.zprezto/init.zsh ]] {
source ~/.zprezto/init.zsh
} else {
if [[ -f ~/.zsh/lib/editor.zsh ]] {
source ~/.zsh/lib/editor.zsh
}
if [[ -e ~/.zsh/functions/prompt_clover_setup ]] {
autoload -Uz promptinit
promptinit
prompt clover
}
autoload -Uz precompile && precompile
}
for file (~/.zsh/lib/^(editor.zsh)*(.N)
~/.zsh/functions/prompt_clover_setup ~/lib/{aliasrc,helpers})
source $file
file=
#
# vim:fenc=utf-8:ft=zsh:ci:pi:sts=0:sw=2:ts=2:
#