diff --git a/data/zsh/top-zshrc b/data/zsh/top-zshrc index 0823349..43ba77e 100644 --- a/data/zsh/top-zshrc +++ b/data/zsh/top-zshrc @@ -1,7 +1,7 @@ # Put this on top of ~/.zshrc # https://zsh.sourceforge.io/Doc/Release/Parameters.html#Parameters-Used-By-The-Shell -export HISTORY_IGNORE="(ls|ll|la|cd|pwd|exit|builtin)" +export HISTORY_IGNORE="(ls|ll|la|cd|pwd|exit|builtin *)" export HISTSIZE=100000000 export SAVEHIST=$HISTSIZE @@ -35,6 +35,10 @@ DISABLE_UNTRACKED_FILES_DIRTY="true" # https://github.com/romkatv/powerlevel10k#how-do-i-configure-instant-prompt typeset -g POWERLEVEL9K_INSTANT_PROMPT=off +# https://github.com/zsh-users/zsh-autosuggestions#suggestion-strategy +typeset -g ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20 +typeset -g ZSH_AUTOSUGGEST_HISTORY_IGNORE=$HISTORY_IGNORE + # https://zellij.dev/documentation/integration.html if command -v zellij &>/dev/null; then ZELLIJ_AUTO_EXIT="true"