-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_bash_aliases.tmpl
More file actions
34 lines (31 loc) · 962 Bytes
/
dot_bash_aliases.tmpl
File metadata and controls
34 lines (31 loc) · 962 Bytes
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
# Git aliases
alias ga="git add"
alias gap="git add -p"
alias gb="git branch"
alias gc="git -c status.showUntrackedFiles=no commit"
alias gd="git diff"
alias gdc="git diff --cached"
alias gl="git log --name-status"
alias glp="git log -p"
alias gr="git restore"
alias grs="git restore --staged"
alias gs="git status"
alias gsu="git status --untracked-files=no"
# Misc
alias cm=chezmoi
{{- if eq .chezmoi.os "darwin" }}
alias code="/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code"
alias mp=multipass
{{- end }}
alias da="direnv allow"
alias dc="docker-compose"
alias dbtf=~/.local/bin/dbt
alias av=aws-vault
# kubectl
alias kc=kubectl
complete -o default -F __start_kubectl kc
alias kc-ef2test="kubectl --kubeconfig ~/.kube/config.ef2test"
alias kc-ef2prod="kubectl --kubeconfig ~/.kube/config.ef2prod"
# Python things
alias marimo="uvx --quiet --with 'marimo[recommended]' marimo"
alias ansible="uvx --quiet --from ansible-core ansible"