From db5e3e8ae3b2cc23347a3d116be3a8398a180459 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 7 Mar 2023 19:01:38 +0100 Subject: home: git search alias slightly tweaked from the suggestion here: https://chaos.social/@Janik/109981566686066588 --- home/home-minimal.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'home') diff --git a/home/home-minimal.nix b/home/home-minimal.nix index 7144d84..29e8233 100644 --- a/home/home-minimal.nix +++ b/home/home-minimal.nix @@ -78,10 +78,11 @@ extraConfig = { log.showSignature = true; init.defaultBranch = "main"; + alias.search = "!git log --format='tformat:%h %cs %s' --no-show-signature | fzf --multi --preview 'git show {+1}|bat -p -lpatch --color=always'"; }; # diff-so-fancy.enable = true; - difftastic.enable = true; + # difftastic.enable = true; delta = { enable = false; options = { -- cgit v1.2.3