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

zsh: add gswr to switch to recent branches

This commit is contained in:
bretello 2022-03-25 08:35:09 +01:00
parent 624eb4710c
commit cb05a031a6
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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'