-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot_bashrc.tmpl
executable file
·69 lines (42 loc) · 1.23 KB
/
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
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
#!/usr/bin/env bash
# bash-completion
source "${HOMEBREW_PREFIX}/etc/bash_completion"
# Starship
eval "$(starship init bash)"
# fzf
source "${HOME}/.fzf.bash"
# direnv
eval "$(direnv hook bash)"
# Python
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
{{ if eq .chezmoi.os "darwin" -}}
# iTerm2
source "${HOME}/.iterm2_shell_integration.bash"
# 1Password
eval "$(op completion bash)"
{{ end -}}
# GitHub
eval "$(gh completion -s bash)"
# GitLab
eval "$(glab completion -s bash)"
# Terraform
complete -o nospace -C /opt/homebrew/bin/terraform terraform
eval "$(terraform-docs completion bash)"
# Azure
source "${HOMEBREW_PREFIX}/etc/bash_completion.d/az"
{{ if eq .chezmoi.os "darwin" -}}
# Google Cloud Platform
source "${HOMEBREW_PREFIX}/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc"
source "${HOMEBREW_PREFIX}/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc"
{{ end -}}
# Kubernetes
source <(kind completion bash)
source <(clusterctl completion bash)
source <(kubectl completion bash)
source <(stern --completion=bash)
source <(kustomize completion bash)
source <(helm completion bash)
source <(argocd completion bash)
source <(flux completion bash)
source "${HOME}/.aliases"