zsh config
This commit is contained in:
35
.zshrc
Normal file
35
.zshrc
Normal file
@@ -0,0 +1,35 @@
|
||||
# The following lines were added by compinstall
|
||||
|
||||
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
|
||||
zstyle ':completion:*' list-colors ''
|
||||
zstyle ':completion:*' menu select=4
|
||||
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
|
||||
zstyle :compinstall filename '/home/shatteredmint/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
setopt autocd extendedglob nomatch notify
|
||||
unsetopt beep
|
||||
bindkey -v
|
||||
# End of lines configured by zsh-newuser-install
|
||||
|
||||
|
||||
#### custom config
|
||||
# keybinds
|
||||
bindkey -M vicmd 'k' history-search-backward
|
||||
bindkey -M viins '^k' history-search-backward
|
||||
|
||||
# prompt
|
||||
autoload -Uz vcs_info
|
||||
precmd() { vcs_info }
|
||||
|
||||
zstyle ':vcs_info:git:*' formats '%b '
|
||||
|
||||
source ~/.zsh_theme
|
||||
|
||||
source ~/.zsh_alias
|
||||
Reference in New Issue
Block a user