-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc.zinit
38 lines (30 loc) · 1.34 KB
/
.zshrc.zinit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# references
# https://qiita.com/yasunori-kirin0418/items/3557150582a1f7e08ecb
# install zsh's plugins
# so-fancy/diff-so-fancy
zinit ice lucid as"program" pick"bin/git-dsf"
zinit load so-fancy/diff-so-fancy
# auto suggestion
# https://github.com/zsh-users/zsh-autosuggestions
zinit ice wait'!0'; zinit light zsh-users/zsh-autosuggestions
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=244"
# Syntax highlighting bundle.
# https://github.com/zdharma/fast-syntax-highlighting
zinit ice wait'!0'; zinit light zsh-users/zsh-syntax-highlighting
# The scripts may be contributed to the Zsh project when stable enough.
# https://github.com/zsh-users/zsh-completions
zinit ice wait'!0'; zinit light zsh-users/zsh-completions
autoload -Uz compinit && compinit
## 補完で小文字でも大文字にマッチさせる
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
## 補完候補を一覧表示したとき、Tabや矢印で選択できるようにする
zstyle ':completion:*:default' menu select=1
# ファイル補完候補に色を付ける
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
# History Search Multi Word
# https://github.com/zdharma/history-search-multi-word
zinit ice wait'!0'; zinit light zdharma/history-search-multi-word
# load theme
# Powerlevel10k
# https://github.com/romkatv/powerlevel10k
zinit ice depth=1; zinit light romkatv/powerlevel10k