From 389907c2d42ac94119ec244deac8ff73f018660f Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sat, 10 Aug 2024 16:11:50 +0200 Subject: [PATCH] fish: add `jl` function to show jj log w/fzf preview --- home/common/fish.nix | 4 ++++ home/dln/home.nix | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/home/common/fish.nix b/home/common/fish.nix index 769726c..0d93d1b 100644 --- a/home/common/fish.nix +++ b/home/common/fish.nix @@ -34,6 +34,10 @@ ''; }; + jl.body = '' + jj log --color=always --no-graph -T builtin_log_oneline -r 'all()' | fzf --ansi --reverse --wrap --preview 'jj show --tool=difftu {1}' --preview-window=down,70% --color=light + ''; + __zoxide_zi_repaint.body = '' __zoxide_zi commandline -f repaint diff --git a/home/dln/home.nix b/home/dln/home.nix index 0cbb129..c04594f 100644 --- a/home/dln/home.nix +++ b/home/dln/home.nix @@ -129,9 +129,6 @@ in "commit_id prefix" = { bold = true; }; - "diff token" = { - underline = false; - }; }; }; };