# confirmation
alias mv='mv -i'
alias cp='cp -i'
alias ln='ln -i'
# Brew shortcuts
alias update='brew update'
alias upgrade='brew upgrade'
alias services='brew services list'
alias start='brew services start'
alias stop='brew services stop'
## pass options to free ##
alias meminfo='free -m -l -t'
## get top process eating memory
alias psmem='ps auxf | sort -nr -k 4'
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
## get top process eating cpu ##
alias pscpu='ps auxf | sort -nr -k 3'
alias pscpu10='ps auxf | sort -nr -k 3 | head -10'
## Get server cpu info ##
alias cpuinfo='lscpu'
## get GPU ram on desktop / laptop##
alias gpumeminfo='grep -i --color memory /var/log/Xorg.0.log'
## this one saved by butt so many times ##
alias wget='wget -c'
## set some other defaults ##
alias df='df -H'
alias du='du -ch'
# top is atop, just like vi is vim
alias top='atop'
#K8s
alias kc='kubectl config'
alias kgc='kubectl config get-contexts'
alias kuc='kubectl config use-context'
alias kl='kubectl logs -f'
alias klp='kubectl logs -fp'
alias kd='kubectl describe'
alias kp='kubectl get pods'
alias ks='kubectl get services'
alias ki='kubectl get ingress'