Remove deprecated segments and update tweaked settings

This commit is contained in:
Alex D. 2021-04-08 04:04:38 +00:00
parent 2c253ec864
commit d11ea19c1e
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
5 changed files with 4 additions and 14 deletions

View File

@ -1,5 +1,5 @@
zstyle ':completion:*' use-cache on 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' separate-sections true
zstyle ':completion:*:manuals.*' insert-sections true zstyle ':completion:*:manuals.*' insert-sections true
zstyle ':completion:*' prefix suffix zstyle ':completion:*' prefix suffix
@ -11,7 +11,7 @@ zstyle ':completion:*' rehash true
zstyle ':completion:*' menu select zstyle ':completion:*' menu select
zstyle ':completion:*' completer _complete _match _correct _approximate _history zstyle ':completion:*' completer _complete _match _correct _approximate _history
zstyle ':completion:*:history:*' remove-all-dups true 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:*:functions' ignored-patterns '_*'
zstyle ':completion:*:descriptions' format '%U%B%d%b%u' zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b' zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'

View File

@ -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}"

View File

@ -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}"

View File

@ -1,4 +1,4 @@
typeset -g POWERLEVEL9K_STATUS_OK{,_PIPE}=false typeset -g POWERLEVEL9K_STATUS_OK{,_PIPE}=false
typeset -g POWERLEVEL9K_STATUS_ERROR{,_{SIGNAL,PIPE}}=true typeset -g POWERLEVEL9K_STATUS_ERROR{,_{SIGNAL,PIPE}}=true
typeset -g POWERLEVEL9K_STATUS_VERBOSE{,_SIGNAME}=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=''

View File

@ -11,7 +11,7 @@ export LESS_TERMCAP_so=$'\e[01;33m'
export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[01;32m' 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 if [[ -r "${ZDOTDIR}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]]; then
typeset -g ZSH_HIGHLIGHT_HIGHLIGHTERS=( typeset -g ZSH_HIGHLIGHT_HIGHLIGHTERS=(