From 21d2e9b2de9161bebc205558ed0cd506cc193290 Mon Sep 17 00:00:00 2001 From: Zam Kokott Date: Mon, 4 May 2026 10:01:12 +0200 Subject: Change attributes of .zshrc --- dot_zshrc.tmpl | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 dot_zshrc.tmpl (limited to 'dot_zshrc.tmpl') diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl new file mode 100644 index 0000000..d83d108 --- /dev/null +++ b/dot_zshrc.tmpl @@ -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 -- cgit 1.3.1