-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
43 lines (33 loc) · 1.22 KB
/
.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
HIST_STAMPS="mm/dd/yyyy"
source $HOME/.zsh/alias.zsh
source $HOME/.zsh/setopt.zsh
autoload -Uz compinit
compinit
zstyle ':completion:*' menu select
zstyle '*:processes-names' command 'ps -e -o comm='
zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'
zstyle ':completion:*' file-sort modification reverse
zstyle ':completion:*:correct:*' original true
autoload -U colors && colors
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*:history-words' menu yes
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
autoload up-line-or-beginning-search
autoload down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
export EDITOR=vim
bindkey "^[[H" beginning-of-line
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
bindkey "^[[F" end-of-line
bindkey "^[[3~" delete-char
bindkey "^[[5~" up-line-or-history
bindkey "^[[6~" down-line-or-history
bindkey "\e[A" up-line-or-beginning-search
bindkey "\e[B" down-line-or-beginning-search
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=$HISTSIZE
PROMPT="%{$fg[blue]%}%n%{$reset_color%} %{$fg_no_bold[white]%}%~ %{$reset_color%}%# "
source $HOME/.zsh/git_prompt.zsh