~/.bash_aliases

########################
# General
########################
#alias -='cd -'
alias ...=../..
alias ....=../../..
alias .....=../../../..
alias ......=../../../../..
alias 1='cd -'
alias 2='cd -2'
alias 3='cd -3'
alias 4='cd -4'
alias 5='cd -5'
alias 6='cd -6'
alias 7='cd -7'
alias 8='cd -8'
alias 9='cd -9'
alias _=sudo
alias diff='colordiff'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias l='ls -lah'
alias md='mkdir -p'
alias py=python3.9
alias rd=rmdir
alias reload='source $HOME/.zshrc'
alias vi='vim'
alias vs='code'
########################
# Git
########################
alias ga='git add -A'
alias gb='git branch'
alias gbl='git branch -a | cat'
alias gc='git checkout'
alias gcm='git checkout master'
alias gcom='git commit -a -S -m '
alias gd='git diff'
alias glg='git log --graph --oneline --decorate --all'
alias gld='git log --pretty=format:"%h %ad %s" --date=short --all'
alias gp='git pull --prune'
alias gs='git status'
########################
# Auto Completion
########################
complete -C '/usr/local/bin/aws_completer' aws
source /usr/share/bash-completion/completions/git
source <(kubectl completion bash)
alias k=kubectl
complete -o default -F __start_kubectl k
source /usr/share/bash-completion/completions/systemctl