From acdf747c02586609ea086992c5e296dc83cc282c Mon Sep 17 00:00:00 2001 From: pablu Date: Sun, 19 Apr 2026 13:25:10 +0200 Subject: Update nearly all for gentoo --- dot_zshrc | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'dot_zshrc') diff --git a/dot_zshrc b/dot_zshrc index ccb5330..d83d108 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -1,13 +1,22 @@ autoload -Uz compinit compinit -HISTFILE=~/.zsh_history -SAVEHIST=1000 -HISTSIZE=1000 +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 @@ -24,11 +33,10 @@ type starship_zle-keymap-select >/dev/null || \ { eval "$(starship init zsh)" } - eval "$(zoxide init zsh)" +eval "$(direnv hook zsh)" -source /usr/share/zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh -source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.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