diff --git a/fish/conf.d/abbr.fish b/fish/conf.d/abbr.fish index f662507..a699eb4 100644 --- a/fish/conf.d/abbr.fish +++ b/fish/conf.d/abbr.fish @@ -24,3 +24,5 @@ abbr -a gr 'git restore' abbr -a gs 'git status' abbr -a gst 'git stash' abbr -a gsw 'git switch' +abbr -a --command git rbi 'rebase --interactive' +abbr -a --command git wipe 'restore --staged --worktree' diff --git a/git/config b/git/config index 81ff6e0..ed0a030 100644 --- a/git/config +++ b/git/config @@ -2,8 +2,6 @@ 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)' 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"] added = yellow changed = green