diff options
author | stuebinm | 2023-04-10 19:24:12 +0200 |
---|---|---|
committer | stuebinm | 2023-04-10 19:24:12 +0200 |
commit | 2ba81320e247fe6c3acea0761ce5358545c5c16c (patch) | |
tree | 9c05c842fbdc9f5d4433985eaf3c5374a9a85f6f /home | |
parent | f70d40cffc98be1ee8c6ca9590c6aa0a7fdc9490 (diff) |
home: git search with nicer shell output
Diffstat (limited to 'home')
-rw-r--r-- | home/home-minimal.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/home-minimal.nix b/home/home-minimal.nix index 5a994f5..51bb8d0 100644 --- a/home/home-minimal.nix +++ b/home/home-minimal.nix @@ -88,7 +88,7 @@ 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'"; + alias.search = "!git log --format='tformat:%h %cs %s' --no-show-signature | fzf --multi --preview 'git show {+1}|bat -p -lpatch --color=always' | cut -f1 -d\" \" | wl-copy -n && wl-paste"; }; # diff-so-fancy.enable = true; |