-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_zshrc.tmpl
More file actions
48 lines (36 loc) · 1.06 KB
/
Copy pathdot_zshrc.tmpl
File metadata and controls
48 lines (36 loc) · 1.06 KB
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
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Disable oh-my-zsh's default completion fix
ZSH_DISABLE_COMPFIX=true
# ZSH Theme
ZSH_THEME="{{ .zsh.theme }}"
# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE="true"
# Uncomment the following line to enable command auto-correction.
DISABLE_CORRECTION="true"
# Disable window autotitle
DISABLE_AUTO_TITLE="true"
# Disable auto-updates (managed by chezmoi)
DISABLE_AUTO_UPDATE=true
# Enable Docker option-stacking completion
zstyle ':completion:*:*:docker:*' option-stacking yes
zstyle ':completion:*:*:docker-*:*' option-stacking yes
# Extra configurations vars
{{- range $key, $value := .zsh.extra_configurations }}
{{ $key }}={{ $value | quote }}
{{- end }}
# Plugins
plugins=(
{{- range .zsh.plugins }}
{{ . }}
{{- end }}
)
source $ZSH/oh-my-zsh.sh
# Environment variables
{{- range $key, $value := .zsh.environment }}
export {{ $key }}={{ $value | quote }}
{{- end }}
# Aliases
{{- range $key, $value := .zsh.aliases }}
alias {{ $key }}='{{ $value }}'
{{- end }}