-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_zshrc.tmpl
76 lines (53 loc) · 1.75 KB
/
dot_zshrc.tmpl
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
66
67
68
69
70
71
72
73
74
75
76
# shellcheck shell=bash
GPG_TTY=$(tty)
export GPG_TTY
# shellcheck disable=SC2296
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
# shellcheck source=/dev/null
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export EDITOR=nvim
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
# iterm
bindkey "\e\e[D" backward-word
bindkey "\e\e[C" forward-word
# kitty
bindkey "\e[1;3D" backward-word
bindkey "\e[1;3C" forward-word
# shellcheck source=.local/share/zinit/zinit.git/zinit.zsh disable=SC1094
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
zinit snippet OMZL::theme-and-appearance.zsh
zinit snippet OMZL::history.zsh
zinit snippet OMZL::completion.zsh
zinit ice depth=1
zinit light romkatv/powerlevel10k
zinit light zdharma-continuum/zinit-annex-patch-dl
zinit light zdharma-continuum/zinit-annex-bin-gem-node
zinit snippet "$HOME/.local/scripts/init_asdf.zsh"
zinit ice as"completion"
zinit snippet "$HOME/.asdf/completions/_asdf"
{{ if eq .chezmoi.os "darwin" }}
zinit ice as"completion"
zinit snippet "$(brew --prefix)/share/zsh/site-functions/_brew"
{{ end }}
zinit light rupa/z
zinit pack"bgn-binary+keys" for fzf
zinit light Aloxaf/fzf-tab
zinit light-mode lucid wait nocompile for \
id-as"kubectl_completion" \
as"completion" \
atclone"kubectl completion zsh > _kubectl" \
atpull"%atclone" \
run-atpull \
zdharma-continuum/null
zinit light zdharma-continuum/fast-syntax-highlighting
autoload -Uz compinit
compinit
zinit cdreplay -q
# shellcheck source=.local/scripts/init_p10k.zsh
. "$HOME/.local/scripts/init_p10k.zsh"