From d9de02f5a04425d98aa15090ba9a5f50b6730f15 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 16 Nov 2021 21:05:09 -0600 Subject: revert: removed docker machine and fixed zsh history --- zsh/zshrc | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'zsh/zshrc') diff --git a/zsh/zshrc b/zsh/zshrc index da5a9ea..935eb7c 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,21 +1,26 @@ #!/usr/bin/env zsh -HISTFILE=~/.zsh_history -HISTSIZE=10000 -SAVEHIST=10000 HYPHEN_INSENSITIVE="true" DISABLE_UPDATE_PROMPT="true" DISABLE_AUTO_TITLE="true" +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=10000 + +setopt NO_BEEP +setopt MENU_COMPLETE +setopt extended_history # record timestamp of command in HISTFILE +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 + typeset -A ZSH_HIGHLIGHT_STYLES ZSH_HIGHLIGHT_STYLES[path]='fg=cyan' ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern line) ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd completion) -setopt NO_BEEP -setopt MENU_COMPLETE -setopt appendhistory -# setopt HIST_IGNORE_ALL_DUPS - fpath=(~/.local/share/zsh/site-functions "${fpath[@]}") source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh -- cgit v1.2.3-70-g09d2