# #

# To fetch this: curl -L germs.dev
# To apply it locally: source <(curl -L germs.dev)
# To apply it globally: mv ~/.bash_aliases{,_}; cp <(curl -L germs.dev) ~/.bash_aliases

# Git
alias gs="git status -s"
alias ga="git add"
alias gc="git commit -v"
alias gp="git push"
alias gb="git branch"
alias gd="git diff"
alias gl="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

# Commit all and push
alias gx="git commit -va && git push"
alias gxm="git commit -am 'Minor change (reword)' && git push"

# Misc
export GIT_EDITOR=vim
alias NOW="sudo shutdown now"
alias wttr="curl wttr.in/brighton"

# Things I do regularly but haven't settled on an alias
# alias gpl="git pull"
# alias ai="sudo apt install --yes"

#