alias: add git_sort_branches_by_date

whole-command-tab-completion
bretello 2020-02-14 16:37:43 +01:00
parent 6e3a1ac40b
commit 84b881a648
1 changed files with 3 additions and 0 deletions

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