aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-04-19 13:25:10 +0200
committerpablu <me@pablu.de>2026-04-19 13:25:10 +0200
commitacdf747c02586609ea086992c5e296dc83cc282c (patch)
tree8cbb5f7c44924b46c7e264af59d36e93744a867d /dot_zshrc
parent4c847970c98b52f8908052326d1c5794a8fbbb56 (diff)
Update nearly all for gentoo
Diffstat (limited to 'dot_zshrc')
-rw-r--r--dot_zshrc22
1 files changed, 15 insertions, 7 deletions
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