-
Notifications
You must be signed in to change notification settings - Fork 1
/
zshrc
60 lines (55 loc) · 2.18 KB
/
zshrc
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
### Added by Zinit's installer
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then
print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit"
command git clone https://github.com/zdharma-continuum/zinit "$HOME/.zinit/bin" && \
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \
print -P "%F{160}▓▒░ The clone has failed.%f%b"
fi
source "$HOME/.zinit/bin/zinit.zsh"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
### End of Zinit's installer chunk
setopt +o nomatch
for file in $HOME/.zsh/{configs,local}/**/*.zsh(.); source "$file"
zinit lucid for \
atload"base16_ocean" \
chriskempson/base16-shell \
from"gh-r" as"program" pick"starship" atload'eval "$(starship init zsh)"' \
starship/starship \
scmbreeze/scm_breeze
zinit wait lucid for \
atinit"ZINIT[COMPINIT_OPTS]=-C; zicompinit; zicdreplay" \
zdharma-continuum/fast-syntax-highlighting \
blockf \
zsh-users/zsh-completions \
atload"!_zsh_autosuggest_start" \
zsh-users/zsh-autosuggestions \
as"program" pick"$ZPFX/bin/git-*" make"PREFIX=$ZPFX" \
tj/git-extras \
from"gh-r" as"program" mv"fd* -> fd" pick"fd/fd" \
@sharkdp/fd \
from"gh-r" as"program" atload'eval "$(fzf --zsh)"' \
junegunn/fzf \
johannchangpro/zsh-interactive-cd \
src"init.sh" \
babarot/enhancd \
as"program" pick"grc" src"grc.zsh" \
garabik/grc \
from"gh-r" as"program" pick"bin/exa" atload="alias ls=exa" \
ogham/exa \
OMZP::history \
OMZP::aws \
from"gh-r" as"program" mv"direnv.* -> direnv" atload'eval "$(direnv hook zsh)"' \
direnv/direnv \
hlissner/zsh-autopair \
as"program" from"gh-r" mv"bat* -> bat" pick"bat/bat" \
@sharkdp/bat \
as"program" from"gh-r" mv"delta* -> delta" pick"delta/delta" \
dandavison/delta \
from"gh-r" as"program" pick"atuin-*/atuin" atload'eval "$(atuin init zsh)" && bindkey "^p" atuin-up-search' \
atuinsh/atuin \
from"gh-r" as"program" pick"jless" \
PaulJuliusMartinez/jless \
from"gh-r" as"program" mv"csview-* -> csview" pick"csview/csview" \
wfxr/csview