File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 b = branch
44 bl = ! git --no-pager branch --verbose --all
55 c = commit
6- d = " ! args=$@ ; shift $# ; nvim +\" DiffviewOpen $args \" "
6+ d = " ! args=$@ ; shift $# ; nvim +\" DiffviewOpen $args \" "
77 ds = d --staged
88 f = fetch
9- ld = log --graph --branches --remotes --tags --date=iso8601 --pretty=log-full
9+ l = "log --graph --date=iso8601 --pretty=log-default"
10+ ld = log --graph --date=iso8601 --pretty=log-full
11+ la = log --graph --branches --remotes --tags --date=iso8601 --pretty=log-default
12+ lda = log --graph --branches --remotes --tags --date=iso8601 --pretty=log-full
1013 prune-merged = ! git branch --merged | grep --invert-match --extended-regexp ' \\*' | xargs -n 1 git branch --delete
1114 r = reflog --date=iso8601 --pretty=reflog-default
1215 rd = reflog --date=iso8601 --pretty=reflog-full
1316 s = status --short
1417 sm = submodule
1518 sw = switch
1619 fixup = " ! git log -n 50 --pretty=format:' %h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup "
17- l = " ! \
18- f() { \
19- if (( $# == 0 )); then \
20- git log --graph --branches --remotes --tags --date = iso8601 --pretty=log-default ; \
21- else \
22- git log --graph --date = iso8601 --pretty=log-default \" $@\" ; \
23- fi; \
24- }; f"
2520 standup = " ! \
2621 f() { \
2722 git l \
Original file line number Diff line number Diff line change @@ -19,20 +19,22 @@ alias pn='pnpm'
1919alias px=' pnpx'
2020
2121typeset -A git_aliases=(
22- a add
23- b branch
24- bl branch
25- c commit
26- d diff
27- ds diff
28- f fetch
29- l log
30- ld log
31- r reflog
32- rd reflog
33- s status
34- sm submodule
35- sw switch
22+ a add
23+ b branch
24+ bl branch
25+ c commit
26+ d diff
27+ ds diff
28+ f fetch
29+ l log
30+ ld log
31+ la log
32+ lda log
33+ r reflog
34+ rd reflog
35+ s status
36+ sm submodule
37+ sw switch
3638)
3739
3840# Loop through each alias, create the alias, and set the compdef
You can’t perform that action at this time.
0 commit comments