본문 바로가기
공부/기타

[개인 terminal 세팅] alias 정리

by haejang 2024. 1. 28.
728x90
728x90

 

vi ~/.zshrc

# python
alias py=python3

# docker, k8s
alias dbt='docker build -t'
alias k=kubectl
alias kd='k describe'
export do='--dry-run=client -o yaml'
export FORCE='--force --grace-period 0'

# terraform
alias tfmt='terraform fmt -recursive'

# aws
alias ecr-login='aws ecr get-login-password --region ap-northeast-2 --profile {PROFILE} | docker login --username AWS --password-stdin {ACCOUNT}.dkr.ecr.ap-northeast-2.amazonaws.com'
alias getsts="echo 'aws sts get-caller-identity'"

# git
alias mainpull='git checkout main && git pull'

# 기타
alias kafka-topics='~/util/kafka_2.13-3.4.0/bin/kafka-topics.sh'
alias exall='exa -al --icons'
alias taqua=asciiquarium

 

 

728x90
728x90

댓글