diff --git a/fish/.config/omf/init.fish b/fish/.config/omf/init.fish index 4d8549e..71ca8bb 100644 --- a/fish/.config/omf/init.fish +++ b/fish/.config/omf/init.fish @@ -122,6 +122,9 @@ abbr --add g "git" abbr --add mv "mv -i" abbr --add rm "rm -i" +# Colorize diff +abbr --add diff "diff --color" + # Load lfcd wiith proper icons function lf set -lx LF_ICONS "\ diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index c2de660..54b7ffd 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -83,6 +83,9 @@ alias g="git" alias mv="mv -i" alias rm="rm -i" +# Colorize diff +alias diff="diff --color" + # Use lf to switch directories and bind it to ctrl-o lfcd() { tmp="$(mktemp)"