aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc
diff options
context:
space:
mode:
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