zsh config

This commit is contained in:
2024-09-28 04:23:06 +02:00
commit bfdc515816
4 changed files with 218 additions and 0 deletions

35
.zshrc Normal file
View 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