From 4c7394e816414f9960f89a72d0b6521a60569ec2 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Wed, 16 Oct 2019 22:41:30 -0400 Subject: [PATCH] Added git aliases and a few others --- .bash_aliases | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index 310d536..5b86eac 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,9 +1,12 @@ # Local system administration alias 'editalias'='vim ~/.bash_aliases && . ~/.bash_aliases' +alias 'viewalias'='view ~/.bash_aliases' alias 'editssh'='vim ~/.ssh/config' alias 'upgrade'='sudo apt update && sudo apt upgrade' alias 'install'='sudo apt update && sudo apt install' alias 'restartgui'='sudo service sddm restart' +alias 'reboot'='sudo reboot' +alias 'shutdown'='sudo shutdown' # Vagrant shortcuts alias 'vdup'='vagrant destroy -f && vagrant up' @@ -16,9 +19,17 @@ alias 'sw'='cd /home/$USER/software && clear' # Git shortcuts alias 'gad'='git add . && git diff --cached' +alias 'gdiff'='git diff' +alias 'status'='git status' +alias 'pull'='git pull' +alias 'branch'='git branch -a' +alias 'log'='git log' +alias 'checkout'='git checkout' +alias 'commit'='git commit -S' +alias 'amend'='git commit -S --amend' # Color shift -alias 'night'='redshift -O 2500' +alias 'night'='redshift -P -O 2500' alias 'day'='redshift -x' # SOCKS proxy over SSH