Change attributes of .zshrc

This commit is contained in:
Zam Kokott
2026-05-04 10:01:12 +02:00
parent 31ee269cab
commit 21d2e9b2de

42
dot_zshrc.tmpl Normal file
View File

@@ -0,0 +1,42 @@
autoload -Uz compinit
compinit
setopt correctall
autoload -U promptinit
promptinit; prompt gentoo
zstyle ':completion::complete:*' use-cache 1
export HISTFILE=~/.zsh_history
export SAVEHIST=1000
export HISTSIZE=1000
bindkey '^R' history-incremental-search-backward
bindkey '^r' history-incremental-pattern-search-backward
setopt hist_ignore_space
setopt hist_ignore_dups
setopt appendhistory
unsetopt beep
# zstyle :compinstall filename '/home/zam/.zshrc'
export EDITOR='nvim'
alias vim='nvim'
alias cd='z'
alias ls='eza --icons=always'
export path
type starship_zle-keymap-select >/dev/null || \
{
eval "$(starship init zsh)"
}
eval "$(zoxide init zsh)"
eval "$(direnv hook zsh)"
source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
fastfetch