-
Notifications
You must be signed in to change notification settings - Fork 0
/
optsrc
47 lines (41 loc) · 925 Bytes
/
optsrc
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
## vim: set fenc=utf-8 ts=2 sw=0 sts=0 sr et si tw=0 fdm=marker fmr={{{,}}} ft=zsh:
##
## optsrc by Andy3153
## created 13/03/24 ~ 16:02:40
##
# {{{ Zsh options
setopt\
APPEND_HISTORY\
EXTENDED_HISTORY\
prompt_subst\
interactive_comments\
correctall
# }}}
# {{{ Load Zsh functions
autoload -U\
bashcompinit\
compinit\
colors\
edit-command-line\
select-quoted\
select-bracketed\
# {{{ Run Zsh functions
bashcompinit
compinit -d "${ZCACHEDIR}/zcompdump/zcompdump-${HOST}"
colors
# }}}
# }}}
# {{{ Load ZLE widgets
zle -N edit-command-line
zle -N select-quoted
zle -N select-bracketed
# }}}
# {{{ Load Zsh modules
zmodload zsh/datetime
# }}}
# {{{ Zsh style components
# {{{ Completion
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle ':completion:*' menu select
# }}}
# }}}