# #
# To fetch this: # curl -L germs.dev # To apply it locally: # source <(curl -L germs.dev) # To apply it globally: # [[ -e ~/.bash_aliases ]] && 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 --color-words" 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 --name-only" # 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 CYA="sudo shutdown now" alias wttr="curl wttr.in/brighton" # Things I do regularly but haven't yet settled on an alias # git pull # sudo apt install --yes # git stash --patch # git commit --patch # nmcli connection up# for dir in $(find . -name .git); do cd $(dirname $dir); echo $dir; git status; cd; done # Upgrade stuff # sudo do-release-upgrade -d #