From 079941975f0e960b9a6550e32940ae1b88dd0130 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Mon, 25 Dec 2023 12:59:00 +0700 Subject: [PATCH] chore(diffstastic): diff inline not side by side --- data/zsh/bottom-zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/zsh/bottom-zshrc b/data/zsh/bottom-zshrc index e20ef26..acdb992 100644 --- a/data/zsh/bottom-zshrc +++ b/data/zsh/bottom-zshrc @@ -58,6 +58,11 @@ if command -v eza &>/dev/null; then alias la="eza -la" fi +# https://github.com/wilfred/difftastic +if command -v difft &>/dev/null; then + export DFT_DISPLAY=inline +fi + # https://github.com/charmbracelet/glow if command -v glow &>/dev/null; then alias gl="glow"