-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
29 lines (24 loc) · 1.12 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
# The following lines were added by compinstall
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}'
# Uncomment to enable menu selection for autocomplete
# zstyle ':completion:*' menu yes select
zstyle :compinstall filename '/home/jack/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_histfile
HISTSIZE=10000
SAVEHIST=10000
setopt autocd extendedglob nomatch notify
unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
bindkey '^R' history-incremental-search-backward
source ~/.bash_aliases # Same syntax is used for both shells, so just reuse
export PROMPT='%F{yellow}[%?]%f %B%F{green}%n@%m%f:%F{blue}%~%f%b$ '
export EDITOR='vim'
export VISUAL='vim'