X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=5e2c06c87b48d4533bbc2dd6baaf86291603a4aa;hb=8c1cafafeb7d79d512d16bd3fe258b2569f5406c;hp=236374b737ade57f984da916567ccf905332398b;hpb=578959cbecd604285356baddd36f4c3178b0a127;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 236374b..5e2c06c 100644 --- a/zsh/rc +++ b/zsh/rc @@ -112,6 +112,8 @@ setopt appendhistory setopt incappendhistory # If the same command is run multiple times store it only once in the history. setopt histignoredups +# Don't add lines starting with a space to the history. +setopt histignorespace # Vim like completions of previous executed commands (also enter Vi-mode). If # called at the beginning it just recalls old commands (like cursor up), if # called after typing something, only lines starting with the typed text are @@ -184,7 +186,7 @@ if [[ $ZSH_VERSION == (4.3.<9->|4.<4->*|<5->*) || zstyle ':vcs_info:*' enable git hg # Check the repository for changes so they can be used in %u/%c (see # below). This comes with a speed penalty for bigger repositories. - zstyle ':vcs_info:*' check-for-changes true + zstyle ':vcs_info:*' check-for-changes yes # Set style of vcs_info display. The current branch (green) and VCS (blue) # is displayed. If there is an special action going on (merge, rebase) @@ -463,7 +465,7 @@ zmodload zsh/complist autoload -Uz compinit && compinit -d ~/.zsh/cache/zcompdump # Use cache to speed up some slow completions (dpkg, perl modules, etc.). -zstyle ':completion:*' use-cache on +zstyle ':completion:*' use-cache yes zstyle ':completion:*' cache-path ~/.zsh/cache # Let the completion system handle all completions, including expanding of