aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-09-01 07:27:42 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-09-01 07:27:42 +0200
commitd37a34ac98514ca45c578b35b6dcb955733eb82d (patch)
tree398be2a746fbeab2da958e2fa1fd2939508855a9 /.bashrc
parentbfcbeeb97a370990a1fa950d930654e8670ed15c (diff)
downloaddotfiles-d37a34ac98514ca45c578b35b6dcb955733eb82d.tar.gz
dotfiles-d37a34ac98514ca45c578b35b6dcb955733eb82d.zip
bash: Add the DIFF environment variable
This allows to specify the diff tool for programs that accept an alternative for it. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 3886689..c844f04 100644
--- a/.bashrc
+++ b/.bashrc
@@ -67,6 +67,9 @@ if command -v fzf &>/dev/null; then
eval "$(fzf --bash)"
fi
+# Some tools allow me to use another diff tool by using this environment variable.
+export DIFF=difft
+
##
# Editors & terminals.