-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases
30 lines (23 loc) · 901 Bytes
/
aliases
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
# bash
alias ls='ls -G'
alias pcert='openssl x509 -noout -text'
# gradle
alias g='./gradlew'
# provenance
alias c='cd ~/code/provenance'
# crdb
alias crdbcli='kubectl exec -it deployment/cockroachdb-client-secure -c cockroachdb-client-secure -- ./cockroach sql --certs-dir=/cockroach/cockroach-certs --host=cockroachdb-public'
# k8s
alias k='kubectl'
alias ksjq="jq '.data | map_values(@base64d)'"
# terraform
alias tws='terraform workspace select'
alias twl='terraform workspace list'
alias tum='tfenv use min-required'
alias tim='tfenv install min-required'
alias terraform-fix='terraform providers lock -platform=darwin_amd64 -platform=linux_amd64'
# git
alias gdr="git diff -- . ':(exclude)**Cargo.lock'"
alias gitclean='git fetch --prune && git branch -vv | grep '\'': gone]'\'' | grep -v '\''\*'\'' | awk '\''{ print $1; }'\'' | xargs -r git branch -D'
# docker
alias dc='docker-compose'