dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 91986783d99bb856a392fefedc66e33da4d74f1b
parent cfefd64cd81613898547abae786d2aca31767d68
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Tue, 31 Mar 2020 12:52:32 +0200

Disable /etc/hosts autocompletion for ssh

Also make sure that the command history never runs full

Diffstat:
Mzsh/zshrc | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/zsh/zshrc b/zsh/zshrc @@ -35,6 +35,7 @@ zstyle ':completion:*:default' list-prompt '%S%M matches%s' zstyle ':completion:*' group-name '' zstyle ':completion:*:manuals' separate-sections true zstyle ':completion:*:manuals.(^1*)' insert-sections true +zstyle ':completion:*:ssh:*' hosts off # Do not use /etc/hosts for ssh autocompletion zstyle ':completion:*' menu select zstyle ':completion:*' verbose yes zstyle ':completion:*' rehash true @@ -68,8 +69,8 @@ setopt PROMPT_SUBST # Enable command substitution in prompt # Set history options HISTFILE=~/.zhistory -HISTSIZE=10000 -SAVEHIST=10000 +HISTSIZE=1000000 +SAVEHIST=1000000 # Source aliases if [ -f ~/.zsh_aliases ]; then