diff options
author | stuebinm | 2023-03-07 19:01:38 +0100 |
---|---|---|
committer | stuebinm | 2023-03-07 19:01:38 +0100 |
commit | db5e3e8ae3b2cc23347a3d116be3a8398a180459 (patch) | |
tree | abb91a97b7381a8eebe5f8602ae62faf6fbdb83b | |
parent | 9e3d12438c02d6943af7330a49c32737702492fb (diff) |
home: git search alias
slightly tweaked from the suggestion here:
https://chaos.social/@Janik/109981566686066588
Diffstat (limited to '')
-rw-r--r-- | home/home-minimal.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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 = { |