-
Notifications
You must be signed in to change notification settings - Fork 17
/
zinitrc
65 lines (51 loc) · 1.61 KB
/
zinitrc
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
61
62
63
64
65
# Load a few important annexes, without Turbo
# (this is currently required for annexes)
zinit light-mode for \
zdharma-continuum/zinit-annex-as-monitor \
zdharma-continuum/zinit-annex-bin-gem-node \
zdharma-continuum/zinit-annex-patch-dl \
zdharma-continuum/zinit-annex-rust \
zdharma-continuum/zinit-annex-man
zinit light zsh-users/zsh-autosuggestions
zinit light zdharma-continuum/fast-syntax-highlighting
zinit light zsh-users/zsh-completions
# Load OMZ Git library
zinit snippet OMZ::lib/git.zsh
# Install OMZ git aliases
zinit snippet OMZ::plugins/git/git.plugin.zsh
# Install OMZ elixir mix completions
zinit ice as"completion"
zinit snippet OMZ::plugins/mix-fast/mix-fast.plugin.zsh
# Replace zsh's default completion selection menu with fzf!
zinit light Aloxaf/fzf-tab
# reminders for aliases if whole command is typed
zinit light djui/alias-tips
# kubernetes aliases
zinit ice lucid wait has'kubectl'
zinit light dkarter/kube-aliases
# vim mode in zsh
zinit ice depth=1
zinit light jeffreytse/zsh-vi-mode
# make fzf available
zinit for \
from'gh-r' \
sbin'fzf' \
junegunn/fzf
# integrate fzf keybindings and completions
zinit for \
https://github.com/junegunn/fzf/raw/master/shell/{'completion','key-bindings'}.zsh
# cht.sh
zinit wait"2a" lucid \
id-as"cht.sh" \
as"program" \
for https://cht.sh/:cht.sh
# has'rlwrap' \
zinit wait"2b" lucid \
id-as"cht-completion" \
has'rlwrap' \
mv"cht* -> _cht" \
as"completion" \
for https://cheat.sh/:zsh
# PRETTYPING
zinit ice lucid wait="" as="program" pick="prettyping" atload="alias pping=prettyping"
zinit load denilsonsa/prettyping