/
dot_zshrc.tmpl
66 lines (66 loc) 路 2.64 KB
/
dot_zshrc.tmpl
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
####################################################################################################################################
########################## {{ .fname }}'s SHELL
########################## Made by https://dotfiles.download
####################################################################################################################################
zmodload zsh/zprof
##############################################
## Functions
##############################################
source "$HOME/.zshrc.d/functions.zsh"
##############################################
## Options
##############################################
source "$HOME/.zshrc.d/options.zsh"
##############################################
## History
##############################################
source "$HOME/.zshrc.d/history.zsh"
##############################################
## Colors & Highlight
###############################################
source "$HOME/.zshrc.d/colors.zsh"
##############################################
## Prompt & MOTD
###############################################
# source "$HOME/.zshrc.d/motd.zsh"
source "$HOME/.zshrc.d/prompt.zsh"
##############################################
## Plugins
##############################################
source "$HOME/.zshrc.d/plugins.zsh"
##############################################
## Terminal utils
###############################################
# source "$HOME/.zshrc.d/term.zsh"
##############################################
## Aliases
##############################################
source "$HOME/.zshrc.d/alias.zsh"
##############################################
## Completions
###############################################
source "$HOME/.zshrc.d/completions.zsh"
##############################################
## Directories
###############################################
source "$HOME/.zshrc.d/dirs.zsh"
##############################################
## Key bindings蟺
###############################################
source "$HOME/.zshrc.d/keybindings.zsh"
##############################################
## Widgets
##############################################
source "$HOME/.zshrc.d/widgets.zsh"
##############################################
## Line editor
###############################################
# TODO: (Add???) source "$HOME/.zshrc.d/line_editor.zsh"
###############################################
## Perf testing
###############################################
# zprof > ~/zsh_perfomance/prof_"`date +"%s"`"
#for i in {1..100}; do
#(time zsh -i -c exit) 2>&1 > /dev/null | grep -E -o -i '\d.\d\d\d';
#(time zsh -i -c exit) 2>&1 > /dev/null | sed 's/.* \([0-9].[0-9][0-9][0-9]\+\) .*/\1/'
#done