mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Update zsh-autosuggestions config and theme
This commit is contained in:
parent
f745fc0961
commit
24fb1f5e14
2 changed files with 9 additions and 6 deletions
|
|
@ -8,15 +8,15 @@ url_color #7fbbb3
|
|||
|
||||
# 窗口分割线
|
||||
active_border_color #a7c080
|
||||
inactive_border_color #394f5a
|
||||
inactive_border_color #384b55
|
||||
|
||||
# 标签栏
|
||||
active_tab_foreground #9da9a0
|
||||
active_tab_background #4c3743
|
||||
inactive_tab_foreground #9da9a0
|
||||
inactive_tab_background #394f5a
|
||||
inactive_tab_background #384b55
|
||||
|
||||
color0 #4a555b
|
||||
color0 #414b50
|
||||
color1 #e67e80
|
||||
color2 #a7c080
|
||||
color3 #dbbc7f
|
||||
|
|
@ -24,8 +24,8 @@ color4 #7fbbb3
|
|||
color5 #d699b6
|
||||
color6 #83c092
|
||||
color7 #d3c6aa
|
||||
color8 #4f5b58
|
||||
# 以下的颜色不在everforest
|
||||
color8 #1a1e1f
|
||||
color9 #fc8b8f
|
||||
color10 #bbd690
|
||||
color11 #f0cc8b
|
||||
|
|
|
|||
7
.zshrc
7
.zshrc
|
|
@ -73,10 +73,13 @@ zinit light zdharma-continuum/fast-syntax-highlighting
|
|||
### 提示历史命令
|
||||
zinit ice lucid wait atload='_zsh_autosuggest_start'
|
||||
zinit light zsh-users/zsh-autosuggestions
|
||||
# 颜色 (注意console)
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=0,bold'
|
||||
# 颜色 (注意tty)
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=0'
|
||||
# 先查找历史,如果没找到就采用补全
|
||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||
# 修改按键
|
||||
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line)
|
||||
ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=(forward-word forward-char)
|
||||
|
||||
### 更多的命令补全
|
||||
zinit light zsh-users/zsh-completions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue