diff --git a/aliases.sh b/aliases.sh index 98c01cf..33856bc 100755 --- a/aliases.sh +++ b/aliases.sh @@ -69,6 +69,9 @@ alias mdiff="mate -t source.diff" # define ssh without controlmaster alias ssh1="ssh -o ControlMaster=no" +# git: useful_stuff +alias git_sort_branches_by_date="git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'" + # grc: try to source the definitions file in /etc/grc.zsh (print a warning if it does not exist) if [[ ! -f /etc/grc.zsh ]]; then