Update HelloTech config to chezmoi
parent
7e92d28f52
commit
1725a711e8
@ -1,16 +1,8 @@
|
|||||||
|
{{ if lookPath "brew" -}}
|
||||||
# vi: ft=bash
|
# vi: ft=bash
|
||||||
|
|
||||||
if command -v brew &> /dev/null; then
|
if command -v brew &> /dev/null; then
|
||||||
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
|
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
|
||||||
. "$(brew --prefix)/share/bash-completion/bash_completion"
|
. "$(brew --prefix)/share/bash-completion/bash_completion"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
{{- end }}
|
||||||
if command -v kubectl > /dev/null 2>&1; then
|
|
||||||
source <(kubectl completion bash)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if command -v helm > /dev/null 2>&1; then
|
|
||||||
source <(helm completion bash)
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
{{ if lookPath "helm" -}}
|
||||||
|
# vi: ft=bash
|
||||||
|
if command -v helm > /dev/null 2>&1; then
|
||||||
|
source <(helm completion bash)
|
||||||
|
fi
|
||||||
|
{{- end }}
|
@ -0,0 +1,6 @@
|
|||||||
|
{{ if lookPath "kubectl" -}}
|
||||||
|
# vi: ft=bash
|
||||||
|
if command -v kubectl > /dev/null 2>&1; then
|
||||||
|
source <(kubectl completion bash)
|
||||||
|
fi
|
||||||
|
{{- end }}
|
@ -1,4 +1,6 @@
|
|||||||
|
{{ if lookPath "helm" -}}
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
if command -v helm > /dev/null 2>&1; then
|
if command -v helm > /dev/null 2>&1; then
|
||||||
eval "$(helm completion fish)"
|
eval "$(helm completion fish)"
|
||||||
fi
|
fi
|
||||||
|
{{- end }}
|
@ -1,5 +1,7 @@
|
|||||||
|
{{ if and .hellotech (lookPath "git") -}}
|
||||||
[url "git@github.com:HelloTech"]
|
[url "git@github.com:HelloTech"]
|
||||||
insteadOf = https://github.com/HelloTech
|
insteadOf = https://github.com/HelloTech
|
||||||
email = buddy@hellotech.com
|
email = buddy@hellotech.com
|
||||||
[init]
|
[init]
|
||||||
templateDir = ~/.config/git/template
|
templateDir = ~/.config/git/template
|
||||||
|
{{- end }}
|
@ -1,3 +1,5 @@
|
|||||||
|
{{ if .hellotech -}}
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
GOPRIVATE=github.com/HelloTech
|
GOPRIVATE=github.com/HelloTech
|
||||||
PULUMI_SKIP_UPDATE_CHECK=true
|
PULUMI_SKIP_UPDATE_CHECK=true
|
||||||
|
{{- end }}
|
@ -0,0 +1,11 @@
|
|||||||
|
{{ if lookPath "helm" -}}
|
||||||
|
# shellcheck disable=SC2148,SC1090
|
||||||
|
|
||||||
|
autoload -U +X compinit && compinit
|
||||||
|
|
||||||
|
if command -v helm > /dev/null 2>&1 ; then
|
||||||
|
source <(helm completion zsh)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# vim: ft=bash
|
||||||
|
{{- end }}
|
Loading…
Reference in New Issue