summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zshrc13
1 files changed, 10 insertions, 3 deletions
diff --git a/zshrc b/zshrc
index b87e91e4..49804126 100644
--- a/zshrc
+++ b/zshrc
@@ -100,19 +100,26 @@ alias diff='\diff -s --color=auto'
alias cdiff='\diff -s --color=always'
alias ipy='ipython3 --autoindent --automagic --pprint --no-banner --no-confirm-exit --term-title --autocall=1 --colors=Neutral'
alias rot13='caesar 13'
+alias wget='\wget --hsts-file="${XDG_CACHE_HOME:-$HOME/.cache}/wget-hsts"'
+alias aurora="REQUESTS_CA_BUNDLE=${XDG_CONFIG_HOME:-$HOME/.config}/cern-ca-bundle.crt \aurora"
+alias aurora_admin="REQUESTS_CA_BUNDLE=${XDG_CONFIG_HOME:-$HOME/.config}/cern-ca-bundle.crt \aurora_admin"
+
+# Git aliases
alias ga='git add'
alias gb='git branch'
alias gc='git commit'
alias gd='git diff'
+alias gds='git diff --staged'
alias gf='git fetch'
+alias gfa='git fetch --all --prune --tags'
alias gk='git checkout'
+alias gkb='git checkout -b'
alias gg='git glog'
alias gl='git pull'
alias gp='git push'
+alias gr='git rebase'
+alias gri='git rebase --interactive'
alias gs='git status'
-alias wget='\wget --hsts-file="${XDG_CACHE_HOME:-$HOME/.cache}/wget-hsts"'
-alias aurora="REQUESTS_CA_BUNDLE=${XDG_CONFIG_HOME:-$HOME/.config}/cern-ca-bundle.crt \aurora"
-alias aurora_admin="REQUESTS_CA_BUNDLE=${XDG_CONFIG_HOME:-$HOME/.config}/cern-ca-bundle.crt \aurora_admin"
if recsel --version 2>/dev/null | grep -qFx 'recsel (GNU recutils) 1.8'; then
# Recutils 1.8 has a bug when TMPDIR is on a different mount point, see