diff --git a/files/config/fish/vcs.fish b/files/config/fish/vcs.fish index ae510d5..4859d3b 100644 --- a/files/config/fish/vcs.fish +++ b/files/config/fish/vcs.fish @@ -23,9 +23,11 @@ end function vcs_status if __jj_in_repo - jj status echo - jj log --limit=20 -T builtin_log_comfortable -r "(main..@) | (main..@)-" + printf '\e[38;5;240m\u2504%.0s\e[0m' (seq 1 (tput cols)) '\n' + jj show --stat + printf '\e[38;5;240m\u2504%.0s\e[0m' (seq 1 (tput cols)) '\n' + jj log --ignore-working-copy --limit=20 -T builtin_log_comfortable -r "(main..@) | (main..@)-" else git status -sb end diff --git a/home/dln/home.nix b/home/dln/home.nix index d2487f5..329f326 100644 --- a/home/dln/home.nix +++ b/home/dln/home.nix @@ -140,6 +140,16 @@ in fg = "bright black"; bold = false; }; + + "diff added token" = { + bg = "#002200"; + fg = "#66ffcc"; + underline = false; + }; + "diff removed token" = { + bg = "#220011"; + underline = true; + }; }; }; };