zsh: tweak completion and style
This commit is contained in:
parent
1962cbd3bc
commit
069916d679
3 changed files with 18 additions and 6 deletions
|
@ -2,6 +2,10 @@ zstyle ':zim' disable-version-check yes
|
|||
# set paths
|
||||
zstyle ':zim:completion' dumpfile ${cachedir}/compdump
|
||||
zstyle ':completion::complete:*' cache-path ${cachedir}/compcache
|
||||
|
||||
# ignore parameters private to various plugins (especially POWERLEVEL clutters the completion to unbearable level)
|
||||
zstyle ':completion:*:*:-parameter-:*:*' ignored-patterns '_*|POWERLEVEL*|P9K*|FAST*|GITSTATUS*'
|
||||
|
||||
HISTFILE=${datadir}/history
|
||||
ZSHZ_DATA=${datadir}/z
|
||||
|
||||
|
|
|
@ -29,4 +29,11 @@ fi
|
|||
source ${ZIM_HOME}/init.zsh
|
||||
|
||||
|
||||
if [[ $confdir/theme/gruvbox.ini -nt $(fast-theme -w && pwd )/current_theme.zsh ]]
|
||||
then
|
||||
echo "Refreshing theme"
|
||||
fast-theme $confdir/theme/gruvbox.ini
|
||||
fi
|
||||
unset _fast_theme
|
||||
|
||||
unset cachedir datadir confdir
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
[base]
|
||||
default = none
|
||||
unknown-token = #cc241d,bold,undercurl
|
||||
unknown-token = #cc241d,bold
|
||||
commandseparator = none
|
||||
redirection = none
|
||||
here-string-tri = #8ec07c
|
||||
here-string-text = bg:#fabd2f
|
||||
here-string-var = #cc241d,bg:#fabd2f
|
||||
here-string-text = #1d2021,bg:#b57614
|
||||
here-string-var = #cc241d,bg:#b57614
|
||||
exec-descriptor = #fb4934,bold
|
||||
comment = 8
|
||||
correct-subtle = #83a598
|
||||
incorrect-subtle = #fb4934
|
||||
subtle-separator = #83a598
|
||||
subtle-bg = bg:#504945
|
||||
; secondary =
|
||||
; recursive-base =
|
||||
secondary =
|
||||
recursive-base =
|
||||
|
||||
|
||||
[command-point]
|
||||
reserved-word = #b16286
|
||||
|
@ -32,7 +33,7 @@ double-paren = #b16286
|
|||
|
||||
[paths]
|
||||
path = none
|
||||
pathseparator =
|
||||
pathseparator =
|
||||
path-to-dir = #b8bb26
|
||||
globbing = #689d6a
|
||||
globbing-ext = #689d6a,bold
|
||||
|
|
Loading…
Add table
Reference in a new issue