summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home/home-minimal.nix2
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;