git: add interactive rebase tool

This commit is contained in:
Charles Gould 2020-07-18 22:01:17 -04:00
parent 9f899167a7
commit da2588ac6c
3 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,8 @@
autocrlf = input
editor = nvim
pager = diff-so-fancy | less --tabs=4 -RFX
[sequence]
editor = interactive-rebase-tool
[alias]
aliases = config --get-regexp 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)'

View File

@ -11,6 +11,8 @@ brew install \
fd \
fish \
fzf \
git \
interactive-rebase-tool \
neovim \
ripgrep \
tree

View File

@ -7,7 +7,9 @@ NIX_ENV="$HOME/.nix-profile/bin/nix-env"
if [ -x "$NIX_ENV" ]; then
"$NIX_ENV" -iA \
nixpkgs.bat \
nixpkgs.gitMinimal \
nixpkgs.gitAndTools.diff-so-fancy \
nixpkgs.gitAndTools.git-interactive-rebase-tool \
nixpkgs.fd \
nixpkgs.fish \
nixpkgs.fzf \