From a36c80eb72af955422ee4ee227718af5769c380f Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Sun, 7 May 2023 09:49:57 +0200 Subject: [PATCH] Cleanup --- dot_zshrc.tmpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 9134b59..f02d0ff 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -5,7 +5,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi -# ZSH setup +# To check # Uncomment the following line to disable bi-weekly auto-update checks. # DISABLE_AUTO_UPDATE="true" # Uncomment the following line if pasting URLs and other text is messed up. @@ -25,11 +25,13 @@ ZSH=~/.oh-my-zsh/ ZSH=/usr/share/oh-my-zsh/ {{ end }} -# Lines configured by zsh-newuser-install +# Zsh history HISTFILE=~/.histfile HISTSIZE=1000 -SAVEHIST=1000 -# use invalid command as a directory if applicable and cd to it +SAVEHIST=10000 + +# Zsh options +# Use invalid command as a directory if applicable and cd to it setopt autocd # Treat the ‘#’, ‘~’ and ‘^’ characters as part of patterns for filename generation, etc. (An initial unquoted ‘~’ always produces named directory expansion.) setopt extendedglob