-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_bashrc.tmpl
42 lines (27 loc) · 916 Bytes
/
dot_bashrc.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
{{- /*
vim:ft=bash.gotexttmpl
*/ -}}
# vim:ft=bash
# shellcheck source=/dev/null
{{ template "shellrc-path.tmpl" . }}
{{ template "shellrc-env.tmpl" . }}
{{ template "shellrc-editor.tmpl" . }}
{{ template "shellrc-media.tmpl" . }}
{{ template "shellrc-notify.tmpl" . }}
{{ template "shellrc-bash.tmpl" . }}
{{ template "shellrc-aliases.tmpl" . }}
{{ template "shellrc-wezterm.tmpl" . }}
{{ template "shellrc-functions.tmpl" . }}
{{- if lookPath "starship" }}
# export starship_config={{ (joinPath .chezmoi.homeDir "/.config/starship.toml") | quote }}
{{ end -}}
{{- if stat (joinPath .chezmoi.homeDir ".local/bash/completions") }}
{{- range glob (print $.chezmoi.homeDir "/.local/bash/completions/*") }}
source {{ . | quote -}}
{{ end -}}
{{ template "shellrc-fzf.tmpl" . }}
{{ end }}
{{ if eq .chezmoi.os "linux" }}
{{ template "gui-env.tmpl" . }}
{{ end -}}
{{ template "shellrc-prompt.tmpl" . }}