-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path10-options.zsh
More file actions
51 lines (43 loc) · 868 Bytes
/
Copy path10-options.zsh
File metadata and controls
51 lines (43 loc) · 868 Bytes
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
# shellcheck disable=SC2016,SC2034
HISTFILE="${HOME}/.zsh_history"
HISTORY_IGNORE='(ls|history|hist|-|..|_)'
HIST_STAMPS='dd.mm.yyyy'
HISTSIZE=50000
SAVEHIST=10000
#timer plugin
TIMER_FORMAT='[%d]'
TIMER_PRECISION=2
TIMER_THRESHOLD=1
KEYTIMEOUT=1
HYPHEN_INSENSITIVE=true
COMPLETION_WAITING_DOTS='true'
unsetopt MENU_COMPLETE
unsetopt FLOWCONTROL
zsh_options=(
ALWAYS_TO_END
AUTO_CD
AUTO_PUSHD
AUTO_MENU
CDABLE_VARS
COMPLETE_ALIASES
COMPLETE_IN_WORD
CORRECT
EXTENDED_HISTORY
HIST_APPEND
HIST_EXPIRE_DUPS_FIRST
HIST_IGNORE_DUPS
HIST_IGNORE_SPACE
HIST_REDUCE_BLANKS
HIST_SAVE_NO_DUPS
HIST_FIND_NO_DUPS
HIST_VERIFY
INC_APPEND_HISTORY
PROMPT_SUBST
PUSHDMINUS
PUSHD_IGNORE_DUPS
SHARE_HISTORY
)
for option in "${zsh_options[@]}"; do
setopt "${option}"
done
unset zsh_options