From 312dc1b3af5bd22a80c1b09ad5f4fd06e547ef31 Mon Sep 17 00:00:00 2001 From: More Date: Sat, 21 Oct 2023 22:27:20 +0300 Subject: [PATCH] changed .zshrc --- .zshrc | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.zshrc b/.zshrc index e86235a..79c13b7 100644 --- a/.zshrc +++ b/.zshrc @@ -39,16 +39,15 @@ bindkey "^[[1;3D" backward-word # ~/.zshrc file for zsh interactive shells. # see /usr/share/doc/zsh/examples/zshrc for examples -setopt autocd # change directory just by typing its name -#setopt correct # auto correct mistakes -setopt interactivecomments # allow comments in interactive mode -setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’ -setopt nonomatch # hide error message if there is no match for the pattern -setopt notify # report the status of background jobs immediately -setopt numericglobsort # sort filenames numerically when it makes sense -setopt promptsubst # enable command substitution in prompt +setopt autocd +setopt interactivecomments +setopt magicequalsubst +setopt nonomatch +setopt notify +setopt numericglobsort +setopt promptsubst -WORDCHARS=${WORDCHARS//\/} # Don't consider certain characters part of the word +WORDCHARS=${WORDCHARS//\/} # hide EOL sign ('%') PROMPT_EOL_MARK="" @@ -87,11 +86,10 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' HISTFILE=~/.zsh_history HISTSIZE=1000 SAVEHIST=2000 -setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE -setopt hist_ignore_dups # ignore duplicated commands history list -setopt hist_ignore_space # ignore commands that start with space -setopt hist_verify # show command with history expansion to user before running it -#setopt share_history # share command history data +setopt hist_expire_dups_first +setopt hist_ignore_dups +setopt hist_ignore_space +setopt hist_verify # force zsh to show the complete history alias history="history 0"