From bc2def55f0e9e321b5ac7bb9e8701fbb5ae4cce9 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 29 May 2024 13:34:13 +0800 Subject: [PATCH] zsh: remove unnecessary plugins, and more hist size --- .zshrc | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.zshrc b/.zshrc index f5ec1df..3f60e9f 100644 --- a/.zshrc +++ b/.zshrc @@ -25,7 +25,6 @@ zinit ice wait lucid atinit"bindkey '^ ' autosuggest-execute" atload'_zsh_autosu zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-completions -zinit light zsh-users/zsh-history-substring-search # Software if ! command -v bat &> /dev/null ; then @@ -72,9 +71,9 @@ compinit # End of lines added by compinstall # Lines configured by zsh-newuser-install HISTFILE=~/.cache/zhistory -HISTSIZE=8192 -SAVEHIST=8192 -setopt autocd autopushd extendedglob nomatch inc_append_history +HISTSIZE=16384 +SAVEHIST=16384 +setopt autocd autopushd extendedglob nomatch inc_append_history hist_ignore_dups unsetopt beep notify bindkey -e # End of lines configured by zsh-newuser-install @@ -92,17 +91,6 @@ bindkey '' edit-command-line autoload -Uz select-word-style select-word-style bash -zmodload zsh/complist -bindkey -M menuselect 'h' vi-backward-char -bindkey -M menuselect 'k' vi-up-line-or-history -bindkey -M menuselect 'l' vi-forward-char -bindkey -M menuselect 'j' vi-down-line-or-history - -bindkey '^[[A' history-substring-search-up -bindkey '^[[B' history-substring-search-down -bindkey '^P' history-substring-search-up -bindkey '^N' history-substring-search-down - bindkey ' ' magic-space # config & cache location