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
|
# set paths
|
||||||
zstyle ':zim:completion' dumpfile ${cachedir}/compdump
|
zstyle ':zim:completion' dumpfile ${cachedir}/compdump
|
||||||
zstyle ':completion::complete:*' cache-path ${cachedir}/compcache
|
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
|
HISTFILE=${datadir}/history
|
||||||
ZSHZ_DATA=${datadir}/z
|
ZSHZ_DATA=${datadir}/z
|
||||||
|
|
||||||
|
|
|
@ -29,4 +29,11 @@ fi
|
||||||
source ${ZIM_HOME}/init.zsh
|
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
|
unset cachedir datadir confdir
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
[base]
|
[base]
|
||||||
default = none
|
default = none
|
||||||
unknown-token = #cc241d,bold,undercurl
|
unknown-token = #cc241d,bold
|
||||||
commandseparator = none
|
commandseparator = none
|
||||||
redirection = none
|
redirection = none
|
||||||
here-string-tri = #8ec07c
|
here-string-tri = #8ec07c
|
||||||
here-string-text = bg:#fabd2f
|
here-string-text = #1d2021,bg:#b57614
|
||||||
here-string-var = #cc241d,bg:#fabd2f
|
here-string-var = #cc241d,bg:#b57614
|
||||||
exec-descriptor = #fb4934,bold
|
exec-descriptor = #fb4934,bold
|
||||||
comment = 8
|
comment = 8
|
||||||
correct-subtle = #83a598
|
correct-subtle = #83a598
|
||||||
incorrect-subtle = #fb4934
|
incorrect-subtle = #fb4934
|
||||||
subtle-separator = #83a598
|
subtle-separator = #83a598
|
||||||
subtle-bg = bg:#504945
|
subtle-bg = bg:#504945
|
||||||
; secondary =
|
secondary =
|
||||||
; recursive-base =
|
recursive-base =
|
||||||
|
|
||||||
|
|
||||||
[command-point]
|
[command-point]
|
||||||
reserved-word = #b16286
|
reserved-word = #b16286
|
||||||
|
@ -32,7 +33,7 @@ double-paren = #b16286
|
||||||
|
|
||||||
[paths]
|
[paths]
|
||||||
path = none
|
path = none
|
||||||
pathseparator =
|
pathseparator =
|
||||||
path-to-dir = #b8bb26
|
path-to-dir = #b8bb26
|
||||||
globbing = #689d6a
|
globbing = #689d6a
|
||||||
globbing-ext = #689d6a,bold
|
globbing-ext = #689d6a,bold
|
||||||
|
|
Loading…
Add table
Reference in a new issue