1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 11:01:31 +01:00

alias: add git_sort_branches_by_date

This commit is contained in:
bretello 2020-02-14 16:37:43 +01:00
parent 6e3a1ac40b
commit 84b881a648

View File

@ -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