zsh: add gswr to switch to recent branches

pull/6/head
bretello 2022-03-25 08:35:09 +01:00
parent 624eb4710c
commit cb05a031a6
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ alias stress='yes >> /dev/null'
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)'"
alias git-sort-branches-by-date="git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'"
alias gswr="git-switch-recent-branch"
alias gl5='git log -n 5'
alias pvim='poetry run vim'