fish: git-specific abbreviations for fish v4
This commit is contained in:
parent
1306eaad33
commit
a655f68d6e
@ -24,3 +24,5 @@ abbr -a gr 'git restore'
|
|||||||
abbr -a gs 'git status'
|
abbr -a gs 'git status'
|
||||||
abbr -a gst 'git stash'
|
abbr -a gst 'git stash'
|
||||||
abbr -a gsw 'git switch'
|
abbr -a gsw 'git switch'
|
||||||
|
abbr -a --command git rbi 'rebase --interactive'
|
||||||
|
abbr -a --command git wipe 'restore --staged --worktree'
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
aliases = config --get-regexp --includes alias
|
aliases = config --get-regexp --includes alias
|
||||||
branchsort = branch --sort='-committerdate' --format='%(HEAD) %(color:blue)%(committerdate:short)%(color:reset) %(if)%(worktreepath)%(then)%(color:reverse yellow)%(refname:short)%(color:reset)%(else)%(color:yellow)%(refname:short)%(color:reset)%(end) %(color:green)%(upstream:short)%(color:reset)'
|
branchsort = branch --sort='-committerdate' --format='%(HEAD) %(color:blue)%(committerdate:short)%(color:reset) %(if)%(worktreepath)%(then)%(color:reverse yellow)%(refname:short)%(color:reset)%(else)%(color:yellow)%(refname:short)%(color:reset)%(end) %(color:green)%(upstream:short)%(color:reset)'
|
||||||
logsearch = log --color=always --pretty=tformat:'%C(blue)%cs %C(auto)%h%d %s%C(reset)'
|
logsearch = log --color=always --pretty=tformat:'%C(blue)%cs %C(auto)%h%d %s%C(reset)'
|
||||||
rbi = rebase --interactive
|
|
||||||
wipe = restore --staged --worktree
|
|
||||||
[color "status"]
|
[color "status"]
|
||||||
added = yellow
|
added = yellow
|
||||||
changed = green
|
changed = green
|
||||||
|
Loading…
x
Reference in New Issue
Block a user