-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
50 lines (32 loc) · 939 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
40
41
42
43
44
45
46
47
48
49
50
HISTFILE=~/.histfile
HISTSIZE=100000
SAVEHIST=100000
setopt auto_cd extended_glob auto_continue no_beep no_hup
setopt hist_ignore_all_dups inc_append_history share_history
setopt prompt_subst
setopt pipe_fail
autoload -U add-zsh-hook
bindkey -e
autoload -Uz compinit bashcompinit
compinit
bashcompinit
zstyle ':completion:*' rehash true
source $HOME/antigen/antigen.zsh
antigen bundle zsh-users/zsh-history-substring-search
antigen bundle zsh-users/zsh-completions src
antigen bundle git
antigen bundle docker
zmodload zsh/terminfo
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
autoload -U colors && colors
autoload -U promptinit && promptinit
PROMPT='[%n %? %1~]%(!.#.$) '
[[ $EMACS = t ]] && unsetopt zle
function chpwd() {
emulate -L zsh
ls -AB --color
}
source $HOME/.aliases.zsh
antigen bundle zsh-users/zsh-syntax-highlighting
antigen apply