diff --git a/completions.zsh b/completions.zsh index c778ee0..93fb299 100644 --- a/completions.zsh +++ b/completions.zsh @@ -1,5 +1,5 @@ zstyle ':completion:*' use-cache on -zstyle ':completion:*' cache-path ~/.zshcompcache +zstyle ':completion:*' cache-path "${CACHEPATH:-~/.cache}"/zsh/comp zstyle ':completion:*:manuals' separate-sections true zstyle ':completion:*:manuals.*' insert-sections true zstyle ':completion:*' prefix suffix @@ -11,7 +11,7 @@ zstyle ':completion:*' rehash true zstyle ':completion:*' menu select zstyle ':completion:*' completer _complete _match _correct _approximate _history zstyle ':completion:*:history:*' remove-all-dups true -zstyle ':completion:*:approximate:*' max-errors 1 numeric +zstyle ':completion:*:approximate:*' max-errors 4 numeric zstyle ':completion:*:functions' ignored-patterns '_*' zstyle ':completion:*:descriptions' format '%U%B%d%b%u' zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b' diff --git a/powerlevel-config/segments/prompt_c_sfeed b/powerlevel-config/segments/prompt_c_sfeed deleted file mode 100644 index 8886b6f..0000000 --- a/powerlevel-config/segments/prompt_c_sfeed +++ /dev/null @@ -1,4 +0,0 @@ -local tmpfile=${CACHEPATH:-~/.cache}/rss -[ -r $tmpfile ] || return -typeset -g _cprompts_sfeed=$(< $tmpfile) -[ ${_cprompts_sfeed:-0} -ne 0 ] && p10k segment -b red -i '' -t "+${_cprompts_sfeed:-unknown}" diff --git a/powerlevel-config/segments/prompt_c_twitch b/powerlevel-config/segments/prompt_c_twitch deleted file mode 100644 index 6f18c18..0000000 --- a/powerlevel-config/segments/prompt_c_twitch +++ /dev/null @@ -1,6 +0,0 @@ -local cachefile=${CACHEPATH:-~/.cache}/twitch -[ -r $cachefile ] || return -local IFS=$'\n' -local streaming=($(< $cachefile)) -typeset -g _cprompts_twitch=(${#streaming} $stats[1]) -[ ${_cprompts_twitch[1]} -gt 0 ] && p10k segment -b purple -i '' -t "${_cprompts_twitch[1]:-unknown}" diff --git a/powerlevel-config/status.zsh b/powerlevel-config/status.zsh index 7c87ce3..194d930 100644 --- a/powerlevel-config/status.zsh +++ b/powerlevel-config/status.zsh @@ -1,4 +1,4 @@ typeset -g POWERLEVEL9K_STATUS_OK{,_PIPE}=false typeset -g POWERLEVEL9K_STATUS_ERROR{,_{SIGNAL,PIPE}}=true typeset -g POWERLEVEL9K_STATUS_VERBOSE{,_SIGNAME}=true -typeset -g POWERLEVEL9K_STATUS_ERROR_{VISUAL,SIGNAL,PIPE}_IDENTIFIER_EXPANSION='✘' +typeset -g POWERLEVEL9K_STATUS_ERROR_{VISUAL,SIGNAL,PIPE}_IDENTIFIER_EXPANSION='' diff --git a/preferences.zsh b/preferences.zsh index 89025ac..6d12a6e 100644 --- a/preferences.zsh +++ b/preferences.zsh @@ -11,7 +11,7 @@ export LESS_TERMCAP_so=$'\e[01;33m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[01;32m' -setopt appendhistory autocd auto_param_slash c_bases extendedglob nomatch notify hist_ignore_all_dups hist_ignore_space share_history nobeep +setopt histappend autocd auto_param_slash c_bases extendedglob nomatch notify hist_ignore_all_dups hist_ignore_space share_history nobeep listpacked markdirs extendedhistory histfcntllock if [[ -r "${ZDOTDIR}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]]; then typeset -g ZSH_HIGHLIGHT_HIGHLIGHTERS=(